
CVE-2020-8813 - RCE através do graph_realtime.php no Cacti 1.2.8
No Cacti 1.2.8, o script graph_realtime.php permite que atacantes remotos executem comandos arbitrários do sistema operacional ao injetar metacaracteres de shell em um cookie, desde que o usuário convidado tenha recebido o privilégio de gráfico em tempo real.
$ ./CVE-2020-8813.py -h
PoC of CVE-2020-8813 - RCE through graph_realtime.php in Cacti 1.2.8 - by Remi GASCOU (Podalirius)
usage: CVE-2020-8813.py [-h] -t TARGET [-v] [-u USERNAME] [-p PASSWORD] (-L | -c COMMAND) [-k]
options:
-h, --help show this help message and exit
-t TARGET, --target TARGET
Target URL of the cacti
-v, --verbose Verbose mode. (default: False)
-u USERNAME, --username USERNAME
Username to connect to Cacti
-p PASSWORD, --password PASSWORD
Password to connect to Cacti
-L, --live Live mode. (default: False)
-c COMMAND, --command COMMAND
Execute a single command
-k, --insecure Allow insecure server connections when using SSL (default: False)
Pull requests são bem-vindos. Sinta-se à vontade para abrir uma issue se quiser adicionar outros recursos.