A proof-of-concept exploit has been published for an unpatched flaw in Cacti, the network monitoring tool. It has no CVE number yet and is tracked as 4HTTP2SHELL and 4HTTP2ROOT. The researcher who published it uses the alias ek0ms savi0r. The flaw affects Cacti Core 1.2.31, the latest release, when the guest account is enabled. The guest account has been disabled by default since version 0.8.7.
How the attack works
A guest user can write a non-numeric string into the preview_graphs_per_page setting through auth_profile.php, which enables a second-order SQL injection when graph_view.php loads with default filters. The poisoned poller command is then passed to the PHP popen function by graph_realtime.php with no allowlist or sanitisation.
A security firm warned that Cacti often stores credentials for routers, switches and servers, so command execution there is a pivot point into the network. With no fix available, the mitigation is to disable the guest account, restrict web access and review poller entries for unexpected commands.










