# CVE-2024-4956
POC - CVE-2024โ€“4956 - Nexus Repository Manager 3 Unauthenticated Path Traversal

Potentially allowing an attacker to read certain information on Check Point Security Gateways once connected to the internet and enabled with Remote Access VPN or Mobile Access Software Blades. A security fix that mitigates this vulnerability is available.

**Read about it** โ€” [CVE-2024-4956](

> **Disclaimer**: This Proof of Concept (POC) is made for educational and ethical testing purposes only. Usage of this tool for attacking targets without prior mutual consent is illegal. It is the end userโ€™s responsibility to obey all applicable local, state, and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

## Getting Started

### Finding Targets

To find potential targets, use Fofa (similar to

- **Fofa Dork**: `header="Server: Nexus/3.53.0-01 (OSS)"`
![Alt text](POC1.png)

First, clone the repository:

git clone

Next chose your target and add it to list.txt file in this format:

- https://ip_address

Run the Exploit:

python3 -l list.txt
The output is passwd and shadow files that found:

![Alt text](POC2.png)

Now after you find both file passwd & shadow you can try crack the hash with JohnTheRipper, after running the exploit you have 2 files, passwd & shadow, so you can merge them into one file and try crack them (I used rockyou.txt but it can be any password wordlist):
unshadow passwd shadow > unshadowed.txt 
john --wordlist=/usr/share/wordlists/rockyou.txt unshadowed.txt