Cacti maintainers have disclosed a high-severity SQL injection flaw that can let an authenticated user with the software’s default Normal User permissions gain administrator access and eventually execute commands on the server. The project published the security advisory on November 29, rating the issue 8.8 out of 10. No CVE identifier has been assigned.
The vulnerability affects Cacti versions 1.2.31 and earlier. According to the advisory, a profile-update endpoint stores a user setting without checking whether its value is numeric. The value is later reused in a graph-preview database query, where specially crafted input can append additional SQL statements. The default Normal User role already includes permission to update profile settings and view graphs, so the project says no special configuration is needed for this attack path.
A successful attack can give the user read and write access to the Cacti database through the application’s database account. The attacker can then change their own permissions to gain administrator access. The advisory says Cacti’s built-in administrative features can subsequently be abused to execute operating-system commands on the server hosting the monitoring platform.
The disclosure is related to, but should not be confused with, the unauthenticated 4HTTP2ROOT and 4HTTP2SHELL exploit chain previously covered by Abijita. Cacti’s new advisory says that public chain combines the same profile-setting validation weakness with guest access and real-time graph handling.
Maintainers say fixes have been committed to the 1.2.31 maintenance branch, the 1.2.x branch and the development branch, with the changes set to be included in version 1.2.32. They have also provided a maintenance patch for Cacti 1.2.31 that can be applied before the next release ships. The project’s GitHub releases page still lists version 1.2.31 as the latest release.
Until systems are patched or upgraded, Cacti advises restricting access to the web interface through a VPN or allowlist and limiting untrusted accounts that have the Update Profile permission. Disabling guest access blocks the separate unauthenticated exploit chain, but does not replace the access restrictions recommended for this authenticated SQL injection flaw.




