Skip to content

CVE-2018-10059 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.

MediumCVSS 5.4 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
Technology
PHPUbuntuDebian

Description

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.

Upgrade path

5 packages: 5 fixed.

PackageAffectedFixed inStatus
cacti <= 1.1.36 after 1.1.36 Fixed
debian/cacti(Debian 12) < 1.1.37+ds1-1 1.1.37+ds1-1 Fixed
debian/cacti(Debian 13) < 1.1.37+ds1-1 1.1.37+ds1-1 Fixed
debian/cacti(Debian 14) < 1.1.37+ds1-1 1.1.37+ds1-1 Fixed
ubuntu/cacti(Ubuntu 18.04) < 1.1.38+ds1-1; = 1.1.18+ds1-1; = 1.1.27+ds1-2; = 1.1.27+ds1-3 +3 more 1.1.38+ds1-1 Fixed

Affected products

ProductAffected versionsFixed in
debian/cacti(Debian:12) < 1.1.37+ds1-1 1.1.37+ds1-1
debian/cacti(Debian:13) < 1.1.37+ds1-1 1.1.37+ds1-1
debian/cacti(Debian:14) < 1.1.37+ds1-1 1.1.37+ds1-1
cacti <= 1.1.36 No fix listed
ubuntu/cacti(Ubuntu:18.04) < 1.1.38+ds1-1 1.1.38+ds1-1
ubuntu/cacti(Ubuntu:18.04) = 1.1.18+ds1-1 No fix listed
ubuntu/cacti(Ubuntu:18.04) = 1.1.27+ds1-2 No fix listed
ubuntu/cacti(Ubuntu:18.04) = 1.1.27+ds1-3 No fix listed
ubuntu/cacti(Ubuntu:18.04) = 1.1.28+ds1-2 No fix listed
ubuntu/cacti(Ubuntu:18.04) = 1.1.35+ds1-1 No fix listed
ubuntu/cacti(Ubuntu:18.04) = 1.1.36+ds1-1 No fix listed

References