A researcher has published a proof of concept for a new, still unpatched flaw in Cacti, the widely used network monitoring tool, dubbed 4HTTP2SHELL. It affects the latest release, Cacti Core 1.2.31, when the guest account is enabled. An attacker writes a non-numeric value into a graph preview setting, which turns into a second-order SQL injection and finally reaches PHP's popen() function. No CVE number or official fix has been issued yet.

What it means: Cacti often sits inside company networks, hosting providers and small ISPs, and it usually stores SNMP credentials for routers, switches and servers. That is why a flaw allowing command execution without logging in is not just about the tool itself but about the entire network it watches. The existence of a public proof of concept before any fix means attacks could start quickly, especially against installations reachable from the internet. The first thing every administrator should check is whether the guest account is enabled and, if it is not needed, switch it off straight away. The Cacti interface should also never be exposed publicly; it should be reachable only through a VPN or the internal network. It is worth reviewing the poller table for suspicious entries and the web server logs for unusual requests to the graph preview pages. When the official release with a fix arrives, upgrading should be a priority, together with rotating the SNMP communities and passwords stored in the system. Teams that rely on Cacti for alerting should also confirm that alerts have not been silently altered.

Read the original on The Hacker News

Related service: Custom software

Related stories