Cacti 4HTTP2SHELL Exploit Used in Attacks One Day After PoC Release

Summary
Attack attempts targeting Cacti’s high-severity SQL injection began one day after PoC code was published. The 4HTTP2SHELL exploit can execute commands without authentication when guest access is enabled; Cacti released patches.
Key points
- Cacti Core 1.2.31 has a high-severity SQL injection flaw, rated CVSS 8.8; the article reports no CVE identifier.
- The flaw can let an authenticated user with “Normal User” permissions access the application database, gain administrator rights, and execute OS commands.
- The 4HTTP2SHELL PoC chains the flaw with guest access and real-time graph handling to execute commands through four HTTP requests without an account or valid session.
- Cacti has disabled the guest account by default since version 0.8.7; the described exploit was tested with guest access enabled.
- Previdian and WatchTowr reported in-the-wild attempts starting November 27; Previdian observed nearly 1,800 attempts.
- Cacti released patches for the 1.2.31, 1.2.x, and develop branches, with fixes to be included in version 1.2.32.
- Recommended measures include disabling guest access, restricting Cacti to trusted networks, reviewing unexpected user-setting changes, and enforcing least privilege.
Article Details
- Vulnerability Types
- SQL injection
- Remote OS command execution
- Severity
- High (CVSS 8.8)
- Affected Versions
- Cacti Core 1.2.31
- Exploitation Status
- active
- Exploit Availability
- public_poc
- Patch Status
- available
- Workarounds
- Disable the guest account in Cacti deployments.
- Restrict access to trusted networks.
