Cacti's guest profile setting reaches the poller command path
The 4HTTP2ROOT disclosure describes a chain in Cacti 1.2.31 that begins with a guest session and ends in command execution as the Cacti server user. The researcher reports four HTTP requests. The path uses auth_profile.php, a setting named preview_graphs_per_page, the graph preview page, and the realtime graph path that reaches the poller.
The chain requires the guest account to be enabled. Cacti documentation states that guest access is disabled by default. That default reduces exposure, but many installations enable guest graphs so operators can share dashboards. A monitoring server also tends to hold credentials for routers, switches, power systems, and virtual infrastructure. Command execution there can affect more than the monitoring display.
Four state changes across three trust boundaries
The first boundary is authentication. A guest session should have a narrow profile and no ability to persist arbitrary settings. The second is data handling. A page-size setting should be validated as a bounded integer before it reaches a query. The third is command execution. The realtime graph path should never pass a database value into a shell command without a fixed command template.
The public analysis describes a stored SQL injection that updates a poller table, followed by popen() execution in the realtime graph path. That sequence is important for defenders. Looking for a single SQL error is not enough. The incident resembles normal use until the modified poller entry is consumed.
Patch and containment
Cacti merged a maintenance-branch hardening change in pull request 9014 on 28 November 2026. Deploy a vendor build that contains the fix. Until a release is available, disable the guest account and remove anonymous access to the Cacti web interface.
Restrict Cacti to an administration network or a VPN. Do not expose the console directly to the internet.
Review web access logs for a sequence that fetches auth_profile.php, updates profile data, previews a graph, and accesses a realtime graph from the same session. Check whether the user was the guest account.
Inspect the poller tables for commands that differ from the approved templates. Compare against configuration backups and known poller definitions.
Review outbound connections and new processes created by the Cacti web or poller account. Rotate device credentials that the Cacti server could read if the host was compromised.
Scope
The public reports identify Cacti 1.2.31 with guest access enabled. The full affected version range has not been established in the material reviewed here. A valid zero or low result from an internet search is not proof that an internal monitoring server is safe. The condition is configuration-specific and the console is often kept off the public internet.
Top comments (0)