First published: Thu Apr 12 2018(Updated: )
Cacti before 1.1.37 has XSS because the get_current_page function in lib/functions.php relies on $_SERVER['PHP_SELF'] instead of $_SERVER['SCRIPT_NAME'] to determine a page name.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Cacti Cacti | <=1.1.36 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-10059 is a vulnerability in Cacti before version 1.1.37 that allows for XSS attacks.
The severity of CVE-2018-10059 is medium with a CVSS score of 5.4.
CVE-2018-10059 works by leveraging the get_current_page function in lib/functions.php, which relies on $_SERVER['PHP_SELF'] instead of $_SERVER['SCRIPT_NAME'], allowing for XSS attacks.
Cacti versions up to and including 1.1.36 are affected by CVE-2018-10059.
To fix CVE-2018-10059, you should upgrade to Cacti version 1.1.37 or later.