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/