Cacti developers merged a fix for a Cacti 1.2.31 flaw released with public exploit code. Admins are urged to disable guest access until an update ships.

Developers of Cacti, the open-source network monitoring tool, have merged a fix for a serious flaw that was published with working exploit code before the project was told about it. The bug, nicknamed 4HTTP2SHELL (earlier 4HTTP2ROOT), was posted on GitHub on 26 November by a researcher using the name "ek0ms savi0r". It affects Cacti 1.2.31 and can let a remote attacker run commands on the server without a password, as long as the guest account is enabled. Cacti developer Sean Mancini told BleepingComputer on 28 November that the fix had been merged into the 1.2.31 maintenance branch. It blocks guest users from saving display preferences and adds checks on graph settings. No CVE number has been assigned yet.

The flaw matters because Cacti servers usually sit deep inside company networks and store SNMP community strings, the passwords used to query routers and switches, along with other device credentials. Security firm watchTowr says a hijacked server could become a stepping stone to other systems. BleepingComputer, citing the researcher's own post, reports that the bug was not shared with the Cacti team before release, which left defenders without a patch when the exploit appeared. Accounts of attacks differ: BleepingComputer said on 27 November it had seen no reports of exploitation, while watchTowr says its sensors recorded active exploitation that same day. The flaw is not in CISA's Known Exploited Vulnerabilities catalog. The impact also depends on the account running Cacti; the researcher's demo reached root only because the web server ran as root.

No new official release, such as a version 1.2.32, had been announced at the time of writing. Administrators can apply the merged fix by hand, but the Cacti team advises testing it in a lab first. Until an update ships, the main protection is to disable the guest account in Cacti's user management. Experts also recommend limiting the web interface to trusted networks or a VPN, making sure the web server and poller do not run as root, and checking poller entries for unexpected commands. watchTowr and BleepingComputer say PHP warnings about non-numeric values in graph display settings can point to attempted attacks. Organisations that find such traces should treat the server as compromised and change the device passwords it stores.