Unpatched Cacti SQL Injection Flaw Enables Unauthenticated OS Command Execution
Written by AI from the linked story. Not reviewed by an editor. How this works
A critical SQL injection vulnerability (CVE rated 8.8) in Cacti Core 1.2.31, known as '4HTTP2SHELL', is being actively exploited in the wild, allowing unauthenticated attackers to execute arbitrary operating system commands on affected servers. The root cause is a failure to apply available patches in a timely manner on an internet-facing network monitoring tool. Because Cacti is widely deployed for infrastructure monitoring, compromised instances can serve as pivot points into broader internal networks. The availability of patches combined with active exploitation underscores how dangerous delayed patching cycles are for high-severity, remotely exploitable vulnerabilities.
Tactical Insight
Immediate actions
- Apply the vendor-released patch for Cacti Core immediately, upgrading to the latest fixed version
- Disable the guest account on all Cacti instances to eliminate unauthenticated attack surfaces
- Restrict network access to Cacti servers using firewall rules or allowlists to limit exposure to trusted hosts only
Long-term improvements
- Establish a formal emergency patching SLA (e.g., 24–72 hours) for critical CVSS 8.0+ vulnerabilities on internet-facing systems
- Maintain a continuously updated inventory of all deployed software versions to enable rapid identification of affected assets
- Implement network segmentation to isolate monitoring infrastructure from production and sensitive internal systems
Detection measures
- Deploy web application firewall (WAF) rules or IDS signatures to detect SQL injection attempts targeting Cacti endpoints
- Enable detailed logging on Cacti servers and ship logs to a centralised SIEM for anomaly detection and alerting
- Conduct regular authenticated vulnerability scans against internet-facing assets to identify unpatched systems before attackers do