A researcher demonstrated that an anonymous visitor could run commands on a Cacti 1.2.31 server with guest access enabled. Cacti monitors devices such as routers and switches. Its web interface can serve graphs without a login when an administrator enables a guest account. Cacti’s documentation says guest access is off by default.
The vulnerable settings can reach the poller, the process that collects measurements. The commands run with the privileges of the service account involved, according to watchTowr’s review. Even a non-root service account may be able to read the credentials Cacti uses to monitor other devices. A compromised monitoring host can therefore put more than its graphs at risk.
What to do now
- Disable anonymous access. Check which account is selected as the Guest User in Cacti’s authentication settings and disable it. Restrict the web interface to trusted management networks. Inventory dashboards that rely on anonymous graph embeds before restoring access through a logged-in path.
- Review systems that were already reachable. Preserve web and application logs and review the poller configuration for unexpected commands. Unexpected files created by the poller or graph-setting warnings can help narrow the review. A warning alone does not prove someone ran a command.
- If you find evidence of compromise, isolate the host. Review which monitored devices the service account could reach. Replace exposed monitoring credentials from a clean system after containment.
As of November 27, the maintainers’ release page still showed 1.2.31 as the latest release, and watchTowr listed no confirmed fix. Watch the project’s security advisories before relying on an upgrade. watchTowr sells exposure-testing services. Its FAQ reports a controlled demonstration, with no known exploitation in live attacks at the time of review.
Caveat: The demonstration used 1.2.31. It does not establish which earlier releases are affected or safe.