H3-2026-1051¶
Cacti Forwarded User Header Authentication Bypass Vulnerability
| Category | VULNERABILITY |
| Base Score | 9.8 |
Description¶
Cacti is an open source network monitoring and graphing tool. Its get_basic_auth_username function trusts client supplied HTTP headers, including X-Forwarded-User, PHP-Auth-User, Remote-User, and Redirect-Remote-User, to determine the identity to log in as when basic or web-server authentication mode is enabled. The function does not verify that the request actually passed through a trusted reverse proxy before honoring these headers. Remote attackers can set one of these headers directly on a request to the Cacti web interface and be treated as any user, including an administrator. Exploitation requires only that the target deployment has basic or web-server authentication mode enabled, with no reverse-proxy trust validation configured.
Impact¶
Successful exploitation grants remote attackers full administrative access to the Cacti console without any valid credentials. Administrators can manage monitored devices, modify data collection configuration, and reach features that can lead to code execution. The exposure affects every request reaching the Cacti interface regardless of session state. Organizations using Cacti for infrastructure monitoring face complete control over their monitoring estate.