CVE-2024-4956

HIGH NUCLEI LAB

Sonatype Nexus Repository <3.68.1 - Path Traversal

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 18 public exploits for CVE-2024-4956. PoCs published by VeryLazyTech, ifconfig-me, verylazytech. A Nuclei detection template is also available.

AI-analyzed exploit summary This exploit leverages a path traversal vulnerability in Sonatype Nexus Repository 3.53.0-01 to read sensitive files like /etc/passwd and /etc/shadow. It uses URL-encoded traversal sequences to bypass restrictions and retrieve file contents.

Description

Path Traversal in Sonatype Nexus Repository 3 allows an unauthenticated attacker to read system files. Fixed in version 3.68.1.

Exploits (18)

exploitdb WORKING POC
by VeryLazyTech · pythonwebappsmultiple
https://www.exploit-db.com/exploits/52101

This exploit leverages a path traversal vulnerability in Sonatype Nexus Repository 3.53.0-01 to read sensitive files like /etc/passwd and /etc/shadow. It uses URL-encoded traversal sequences to bypass restrictions and retrieve file contents.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Sonatype Nexus Repository 3.53.0-01
No auth needed
Prerequisites: Network access to the target Nexus Repository instance
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER 17 stars
by ifconfig-me · poc
https://github.com/ifconfig-me/CVE-2024-4956-Bulk-Scanner

This repository contains a bulk scanner for CVE-2024-4956, a path traversal vulnerability in Nexus Repository. The scanner tests multiple domains and payloads to detect vulnerable instances by checking for the presence of 'root:' in the response, indicating successful file disclosure.

Classification
Scanner 100%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Nexus Repository
No auth needed
Prerequisites: List of target domains · List of path traversal payloads
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 16 stars
by verylazytech · poc
https://github.com/verylazytech/CVE-2024-4956

The repository contains a functional Python script that exploits CVE-2024-4956, a path traversal vulnerability in Nexus Repository Manager 3, allowing unauthenticated access to sensitive files like /etc/passwd and /etc/shadow. The script sends crafted HTTP requests with encoded traversal sequences to retrieve file contents.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Nexus Repository Manager 3 (OSS)
No auth needed
Prerequisites: Target running vulnerable Nexus Repository Manager 3 with exposed HTTP endpoint
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 9 stars
by fin3ss3g0d · poc
https://github.com/fin3ss3g0d/CVE-2024-4956

This repository contains a functional Python script for exploiting CVE-2024-4956, a path traversal vulnerability. The script automates testing file paths, saving retrieved content, and includes a test mode to verify vulnerability presence.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Nexus Repository Manager (version not specified)
No auth needed
Prerequisites: Target URL · List of file paths to test (optional)
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER 3 stars
by Cappricio-Securities · poc
https://github.com/Cappricio-Securities/CVE-2024-4956

This repository contains a Python-based scanner for CVE-2024-4956, designed to detect vulnerable endpoints by checking for the presence of '/etc/passwd' in HTTP responses. It includes features like Telegram notifications and bulk URL scanning but does not include exploit code for active exploitation.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Unknown (scanner targets web applications)
No auth needed
Prerequisites: Python 3 · pip · list of target URLs or a single URL
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 3 stars
by GoatSecurity · poc
https://github.com/GoatSecurity/CVE-2024-4956

This repository contains a functional exploit PoC for CVE-2024-4956, a directory traversal vulnerability in Nexus Repository Manager 3. The exploit uses a crafted HTTP request to access sensitive files (e.g., /etc/passwd) and includes a Python script for automated scanning.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Nexus Repository Manager 3
No auth needed
Prerequisites: Network access to the target Nexus Repository Manager instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 3 stars
by erickfernandox · poc
https://github.com/erickfernandox/CVE-2024-4956

The repository contains a functional Nuclei template and PoC for CVE-2024-4956, demonstrating an unauthenticated path traversal vulnerability in Nexus Repository Manager 3. The exploit leverages URL-encoded traversal sequences to access sensitive system files like /etc/passwd.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Sonatype Nexus Repository Manager 3 (versions 3.0 to 3.68.0)
No auth needed
Prerequisites: Network access to the Nexus Repository Manager instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER 3 stars
by xungzzz · poc
https://github.com/xungzzz/CVE-2024-4956

This YAML file is a Nuclei template designed to detect a directory traversal vulnerability (CVE-2024-4956) by attempting to access /etc/passwd via a crafted HTTP request. It does not contain exploit code but serves as a detection mechanism for the vulnerability.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Unknown (generic directory traversal check)
No auth needed
Prerequisites: Network access to the target web server
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 2 stars
by An00bRektn · poc
https://github.com/An00bRektn/shirocrack

This repository contains a functional hash cracker for Apache Shiro hashes, specifically designed to exploit CVE-2024-4956 by cracking password hashes extracted from Nexus Repository's OrientDB files. The tool is written in Go and implements the SHA-512 hashing algorithm with salt and iterations as used by Apache Shiro.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Sonatype Nexus Repository (default setup with OrientDB)
No auth needed
Prerequisites: Access to password hashes extracted from Nexus Repository's .pcl files · Wordlist for brute-forcing
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 2 stars
by gmh5225 · poc
https://github.com/gmh5225/CVE-2024-4956

The repository contains a functional Nuclei template and PoC for CVE-2024-4956, demonstrating an unauthenticated path traversal vulnerability in Nexus Repository Manager 3. The exploit leverages URL-encoded traversal sequences to access sensitive system files like /etc/passwd.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Sonatype Nexus Repository Manager 3 (versions 3.0 to 3.68.0)
No auth needed
Prerequisites: Network access to the Nexus Repository Manager instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by Praison001 · poc
https://github.com/Praison001/CVE-2024-4956-Sonatype-Nexus-Repository-Manager

This repository contains functional exploit code for CVE-2024-4956, a path traversal vulnerability in Sonatype Nexus Repository Manager. The exploits (Bash and Python) craft a URL to bypass authentication and retrieve arbitrary system files.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Sonatype Nexus Repository Manager 3.x (up to 3.68.0)
No auth needed
Prerequisites: Network access to the target Nexus Repository Manager instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by thinhap · poc
https://github.com/thinhap/CVE-2024-4956-PoC

This repository contains a functional proof-of-concept for CVE-2024-4956, demonstrating a path traversal vulnerability in Nexus Repository Manager. The exploit uses URL-encoded sequences to access sensitive files like /etc/passwd.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Nexus Repository Manager
No auth needed
Prerequisites: Network access to the target Nexus Repository Manager instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER 1 stars
by banditzCyber0x · poc
https://github.com/banditzCyber0x/CVE-2024-4956

The repository contains a Nuclei template for detecting CVE-2024-4956, an unauthenticated path traversal vulnerability in Nexus Repository Manager 3. The template sends a crafted GET request to retrieve /etc/passwd and checks for the presence of the root user entry.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Nexus Repository Manager 3
No auth needed
Prerequisites: Network access to the target Nexus Repository Manager instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by amalpvatayam67 · poc
https://github.com/amalpvatayam67/day04-nexus-4956

This repository contains a functional exploit for CVE-2024-4956, a path traversal vulnerability in Nexus Repository 3 versions ≤ 3.68.0. The exploit demonstrates arbitrary file read via crafted URLs, including a script to fetch /etc/passwd and a flag file.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Nexus Repository 3 (versions ≤ 3.68.0)
No auth needed
Prerequisites: Docker environment · Network access to vulnerable Nexus instance
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by Buff3st-0v3rfl0w · poc
https://github.com/Buff3st-0v3rfl0w/CVE-2024-4956

This repository contains a functional Python script that exploits CVE-2024-4956, a path traversal vulnerability in Sonatype Nexus Repository 3.68.0-04, allowing local file inclusion (LFI) via crafted URL paths. The script takes a target URL and file path as arguments, constructs a malicious request with traversal sequences, and retrieves the file contents if vulnerable.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Sonatype Nexus Repository 3.68.0-04
No auth needed
Prerequisites: Network access to the target Sonatype Nexus Repository instance · Knowledge of the target file path to retrieve
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER
by art-of-defence · poc
https://github.com/art-of-defence/CVE-2024-4956

The repository contains a Python script that checks for the presence of the string 'root' in the response from a crafted URL, indicating a potential vulnerability in Sonatype Nexus. It does not exploit the vulnerability but scans for its presence.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Sonatype Nexus
No auth needed
Prerequisites: Network access to the target system · Target system running Sonatype Nexus
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER
by UMASANKAR-MG · poc
https://github.com/UMASANKAR-MG/Path-Traversal-CVE-2024-4956

This repository contains a Python-based scanner for detecting CVE-2024-4956, an unauthenticated path traversal vulnerability. It sends crafted HTTP requests to check for the presence of the vulnerability by attempting to read '/etc/passwd' via path traversal sequences.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Unknown (generic path traversal scanner)
No auth needed
Prerequisites: Network access to the target · Target must be vulnerable to the specific path traversal pattern
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by JolyIrsb · poc
https://github.com/JolyIrsb/CVE-2024-4956

This repository contains a functional exploit for CVE-2024-4956, demonstrating a Local File Inclusion (LFI) vulnerability in Nexus Repository Manager 3. The exploit uses path traversal techniques to access sensitive files like /etc/passwd.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Nexus Repository Manager 3
No auth needed
Prerequisites: Target must be running a vulnerable version of Nexus Repository Manager 3
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Nuclei Templates (1)

Sonatype Nexus Repository Manager 3 - Local File Inclusion
HIGHVERIFIEDby ritikchaddha
FOFA: title="Nexus Repository Manager" || title="nexus repository manager"

References (1)

Core 1
Core References

Scores

CVSS v3 7.5
EPSS 0.9403
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (1)
Sonatype/Nexus Repository 3.0.0 - 3.68.0
Published May 16, 2024
Tracked Since Feb 18, 2026