Exploit database

Vulnerability

CVE-2021-4104

Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2

Vulnerability details

Score
7.5
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration. The attacker can provide TopicBindingName and TopicConnectionFactoryBindingName configurations causing JMSAppender to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-44228. Note this issue only affects Log4j 1.2 when specifically configured to use JMSAppender, which is not the default. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.

CVE Program

Exploit source choices

11 sources
apache/logging-log4j1
GH-edb799cba26110c48e5725783fbd9b79GitHubUnofficial GitHub source

Apache log4j1

2009-05-21681 files · 868 stars
logpresso/cve-2021-44228-scanner
GH-f14310a5f8f44da4b48497a38324b3f7GitHubUnofficial GitHub source

Vulnerability scanner and mitigation patch for Log4j2 CVE-2021-44228

2021-12-1153 files · 866 stars
hynekpetrak/log4shell-finder
GH-4f9ccfd274dd746973d20437a95b5e43GitHubUnofficial GitHub source

Fastest filesystem scanner for log4shell (CVE-2021-44228, CVE-2021-45046) and other vulnerable (CVE-2017-5645, CVE-2019-17571, CVE-2022-23305, CVE-2022-23307 ... ) instances of log4j library. Excellent performance and low memory footprint.

2021-12-149 files · 39 stars
cckuailong/log4shell_1.x
GH-5df10d5650eb584fe2a97c72cf7dd2d9GitHubUnofficial GitHub source

log4j 1.x RCE Poc -- CVE-2021-4104

2021-12-1412 files · 20 stars
christian-taillon/log4shell-hunting
GH-6fb043491e72ee6c677cceeded0ac8cfGitHubUnofficial GitHub source

This repo exists to aid hunters in discovering and investigating log4j attacks against their organization.

2021-12-2012 files · 4 stars
theinterception/log4j-simulation-tool
GH-e8c3cf9f3c027cba9134534e3040c591GitHubUnofficial GitHub source

Vulnerability analysis, patch management and exploitation tool forCVE-2021-44228 / CVE-2021-45046 / CVE-2021-4104

2021-12-1939 files · 4 stars
adp-dynatrace/dt-appsec-powerup
GH-80017d977f3addc0cbf1bfb5d69ccfcaGitHubUnofficial GitHub source

Extension for Dynatrace App Sec Reporting

2022-05-2616 files · 1 stars
bmw-inc/log4shell
GH-b7cf6ba0e7c923f178c9e5e0f62bbe97GitHubUnofficial GitHub source

bmw-inc/log4shell source repository

2022-11-0497 files · 0 stars
cabo1mo1/java_openapi
GH-2fc126194ab2d252a6c3174ed18c152eGitHubUnofficial GitHub source

cabo1mo1/java_openapi source repository

2025-09-23316 files · 0 stars
cuijiung/log4j-cve-2021-4104
GH-e7cba61fcc9cfcf9e0452af1c2a519fcGitHubUnofficial GitHub source

cuijiung/log4j-cve-2021-4104 source repository

2025-07-1113 files · 0 stars