Exploit database

Vulnerability

CVE-2021-45105

Apache Log4j2 does not always protect from infinite recursion in lookup evaluation

Vulnerability details

Score
5.9
Severity
medium

CVSS 3.1 · CISA-ADP

Vector string

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

Description

Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0, 2.12.3, and 2.3.1.

CVE Program

Exploit source choices

31 sources
cybereason/logout4shell
GH-1b05cdec2d918bffb347a2be31483bb4GitHubUnofficial GitHub sourcePreferred

Use Log4Shell vulnerability to vaccinate a victim server against Log4Shell

2021-12-108 files · 1,694 stars
binkley/modern-java-practices
GH-af6df41b51bc78f4bde351576fbebab6GitHubUnofficial GitHub source

Modern Java/JVM Build Practices

2020-10-0359 files · 974 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
mergebase/log4j-detector
GH-eb038d8517e2d382eb97b9ac8401f434GitHubUnofficial GitHub source

A public open sourced tool. Log4J scanner that detects vulnerable Log4J versions (CVE-2021-44228, CVE-2021-45046, etc) on your file-system within any application. It is able to even find Log4J instances that are hidden several layers deep. Works on Linux, Windows, and Mac, and everywhere else Java runs, too! TAG_OS_TOOL, OWNER_KELLY, DC_PUBLIC

2021-12-1222 files · 640 stars
fox-it/log4j-finder
GH-e753b60eed97fbcf25e3c3a072c6bba4GitHubUnofficial GitHub source

Find vulnerable Log4j2 versions on disk and also inside Java Archive Files (Log4Shell CVE-2021-44228, CVE-2021-45046, CVE-2021-45105)

2021-12-147 files · 438 stars
cyb3rward0g/log4jshell-lab
GH-e7892c29152c3dbd79c75e2833113439GitHubUnofficial GitHub source

cyb3rward0g/log4jshell-lab source repository

2021-12-1167 files · 70 stars
dtact/divd-2021-00038--log4j-scanner
GH-8c1f0dc79241b4e237015a9909238101GitHubUnofficial GitHub source

Scan systems and docker images for potential log4j vulnerabilities. Able to patch (remove JndiLookup.class) from layered archives. Will detect in-depth (layered archives jar/zip/tar/war and scans for vulnerable Log4J versions (CVE-2021-44228, CVE-2021-45046 and CVE-2021-45105). Binaries for Windows, Linux and OsX, but can be build on each platform supported by supported Golang.

2021-12-1223 files · 46 stars
1lann/log4shelldetect
GH-77884fd0ac9157444bcac34dccce22d9GitHubUnofficial GitHub source

Rapidly scan filesystems for Java programs potentially vulnerable to Log4Shell (CVE-2021-44228) or "that Log4j JNDI exploit" by inspecting the class paths inside files

2021-12-119 files · 45 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
darkarnium/log4j-cve-detect
GH-a76f4cc8411e76d0bd65fad943c4fc03GitHubUnofficial GitHub source

Detections for CVE-2021-44228 inside of nested binaries

2021-12-1127 files · 35 stars
ossie-git/log4shell_sentinel
GH-f284c7b8400dcb3c41b535c773adb47dGitHubUnofficial GitHub source

A Smart Log4Shell/Log4j/CVE-2021-44228 Scanner

2021-12-2210 files · 13 stars
cvedb/awesome-cve-repo
GH-5d2d5bc79e38467342aae25328e8c9d0GitHubUnofficial GitHub source

cvedb/awesome-cve-repo source repository

2023-03-237 files · 9 stars
demining/log4j-vulnerability
GH-dc2df5560e677d120d9c619ccea19cceGitHubUnofficial GitHub source

Vulnerability CVE-2021-44228 allows remote code execution without authentication for several versions of Apache Log4j2 (Log4Shell). Attackers can exploit vulnerable servers by connecting over any protocol, such as HTTPS, and sending a specially crafted string.

2023-01-3148 files · 6 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
iamsoscared/log4j2_dos_exploit
GH-75a6ef06cd264658e025179c0aee2c7cGitHubUnofficial GitHub source

log4j2 dos exploit,CVE-2021-45105 exploit,Denial of Service poc

2021-12-202 files · 3 stars
alvaromartinezq/clickandbuy
GH-62f8eef8fbc6609c15659a326553adfeGitHubUnofficial GitHub source

E-commerce web simulation. Dockerized services, load balancer, redis and more 🛒

2021-02-09164 files · 2 stars
cvedb/top
GH-2e626f612a2d87f79d1d9385117cfa16GitHubUnofficial GitHub source

cvedb/top source repository

2023-03-1911 files · 2 stars
name/log4j-remediation
GH-9421fdcff97618c0eaad2f1e6f761ce7GitHubUnofficial GitHub source

Discover and remediate Log4Shell vulnerability [CVE-2021-45105]

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

Extension for Dynatrace App Sec Reporting

2022-05-2616 files · 1 stars
afrouper/mavendependencycve-scanner
GH-644ef61166d7769bf9317dbb6d5b99c3GitHubUnofficial GitHub source

A simple and fast Maven dependency vulnerability scanner. Check existence of vuln JARs (transitive)

2021-12-2343 files · 1 stars
andalik/log4j-filescan
GH-9dd00d9c5a3eaeafd060b268c1579172GitHubUnofficial GitHub source

Scanner recursivo de arquivos desenvolvido em Python 3 para localização e varredura de versões vulneráveis do Log4j2, contemplando análise interna de arquivos JAR (CVE-2021-44228, CVE-2021-45046, CVE-2021-45105 e CVE-2021-44832)

2021-12-164 files · 1 stars
demonrvm/log4shellremediation
GH-7babd6c157c54a167a32a70e3d8832eaGitHubUnofficial GitHub source

A vulnerable Spring Boot application that uses log4j and is vulnerable to CVE-2021-44228, CVE-2021-44832, CVE-2021-45046 and CVE-2021-45105

2023-04-0214 files · 1 stars
akselbork/remove-log4jvulnerabilityclass-
GH-c6f65ce34675b4b38992a1a82e6db6cbGitHubUnofficial GitHub source

Log4J vulnerability Script to remove the "JndiLookup.Class" from JAR-files

2021-12-196 files · 0 stars
arabindadora/log4shell
GH-548e0e5f36df2c6046518eb666ca1a73GitHubUnofficial GitHub source

Log4Shell (CVE-2021-44228) PoC

2025-09-2912 files · 0 stars
bananaacaat/log4j-detector
GH-3e0caea2360cd7d3bd553edc4ae2d485GitHubUnofficial GitHub source

bananaacaat/log4j-detector source repository

2024-06-1647 files · 0 stars
bmw-inc/log4shell
GH-b7cf6ba0e7c923f178c9e5e0f62bbe97GitHubUnofficial GitHub source

bmw-inc/log4shell source repository

2022-11-0497 files · 0 stars
boupouchi/log4j-detector-pfa
GH-ae3b7b5490115d45909ddc826c5e186eGitHubUnofficial GitHub source

boupouchi/log4j-detector-pfa source repository

2024-04-1522 files · 0 stars