Updates

Public Cacti Exploit Can Run Commands Without a Login

A public Cacti exploit can run commands without a login when guest access is enabled. Small offices and home labs should patch and restrict access.

Public Cacti Exploit Can Run Commands Without a Login — illustration

A newly disclosed security flaw in Cacti can let an attacker run commands on a vulnerable server without signing in. Most households do not use Cacti, but people with home labs and small offices should act because the software may hold credentials used to monitor routers, firewalls and other network equipment.

What happened

According to BleepingComputer, a security researcher publicly released technical details, demonstration code and a video showing how to exploit the flaw with four web requests. The researcher tested Cacti Core 1.2.31. The source does not disclose whether earlier releases are affected.

Cacti is an open-source platform that tracks the performance of servers and network devices. The vulnerability involves weak checks on settings saved by guest users. An attacker can place malicious database instructions in those settings, change the configuration of Cacti’s real-time poller and make the server execute operating-system commands.

The attack requires Cacti’s guest account to be enabled, but it does not require a valid login or API key. The access gained depends on which system account runs the Cacti web server and poller. It may be a limited account, although the researcher demonstrated an attack that reached root-level access.

BleepingComputer’s article notes that information about a released security fix was added after publication. However, the provided source text does not identify the fixed version or give complete installation instructions.

Who is affected

This warning applies to people or organizations running their own Cacti server, especially when its web interface can be reached by untrusted devices or networks. A typical household that has never installed Cacti is not affected simply because it owns a router, switch or firewall.

Home-lab operators, managed service providers and small offices may use Cacti to watch network performance. A compromised installation could expose credentials or SNMP passphrases stored for monitored devices, potentially giving an attacker a path toward other systems, according to BleepingComputer.

What to do now

  1. Confirm whether Cacti is installed. Check the software list and server inventory for your home lab or office. If another person manages your network, ask whether a Cacti monitoring server is in use and which version it runs.

  2. Install the released security fix. Use Cacti’s official update process and verify the installed version afterward. The source confirms that a fix was released but does not disclose its version in the provided text, so do not rely on an assumed version number.

  3. Disable the guest account. Sign in with an administrator account and use Cacti’s account-management or configuration controls to deactivate guest access. This removes a condition required by the published exploit.

  4. Restrict the Cacti web interface. Change firewall or access-control rules so only trusted local devices or an approved management network can connect. Do not leave the interface openly reachable from the internet. For broader network-hardening steps, see CyberSec24’s home network security guide.

  5. Review the poller configuration and application logs. Look for unfamiliar commands in real-time poller settings and warnings about non-numeric graph-display values, which BleepingComputer identifies as relevant signs to investigate.

  6. Treat unexpected changes as a possible compromise. If you find suspicious poller commands or log entries, isolate the server and replace credentials and SNMP passphrases stored in Cacti before reconnecting monitored equipment.

Sources

Written by the CyberSec24 news desk with AI assistance, from the sources above. Spot an error? Tell us and we'll correct it.