PT-2026-52624 · Cacti · Cacti
CVSS v2.0
6.4
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
Cacti versions prior to 1.2.31
Description
An open redirect issue exists due to the use of a substring check instead of a host check within the
str contains($referer, CACTI PATH URL) logic. When the login opts variable is set to '1', the auth login redirect() function directly utilizes the $ SERVER['HTTP REFERER'] variable. An attacker can exploit this by crafting a referer containing the CACTI PATH URL substring, such as https://evil.com/cacti/, causing the user to be redirected to an external malicious site after login. This occurs because the validate redirect url() helper function in lib/html utility.php, which provides proper validation, was not called by the auth login redirect() function.Recommendations
Update to version 1.2.31.
Exploit
Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cacti