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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-46169 PoC — Cacti 命令注入漏洞

Source
Associated Vulnerability
Title:Cacti 命令注入漏洞 (CVE-2022-46169)
Description:Cacti是Cacti团队的一套开源的网络流量监测和分析工具。该工具通过snmpget来获取数据,使用RRDtool绘画图形进行分析,并提供数据和用户管理功能。 Cacti v1.2.22版本存在命令注入漏洞,该漏洞源于未经身份验证的命令注入,允许未经身份验证的用户在运行Cacti的服务器上执行任意代码。
Description
Exploit to CVE-2022-46169 vulnerability
Readme
# CVE-2022-46169 Exploit
Exploit to CVE-2022-46169 vulnerability on Cacti 1.2.19


[Options]

```
-u --url victim's url

-f --forwarded X-Forwarded value to bypass the auth

-m --mode: check for Checking for Vulnerable Servers, or exploit for Fun exploitation mode :D
```
[Usage]

```
1. $> ./cve_2022_46169.py -u http://10.10.10.10/cacti -f 10.10.10.10 -m exploit
2. $> ./cve_2022_46169.py -u http://10.10.10.10/cacti -f 127.0.0.1 -m check
```
[References]

https://www.sonarsource.com/blog/cacti-unauthenticated-remote-code-execution/

![image](https://user-images.githubusercontent.com/109983457/212446392-27280172-2fb7-4416-936f-3340b26087e0.png)




File Snapshot

[4.0K] /data/pocs/2ad10712b5ae14e5be2a51cb426cb999ee5a57c5 ├── [6.5K] cve_2022_46169.py └── [ 655] 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.