Name | CVE-2018-10059 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cacti (PTS) | bullseye | 1.2.16+ds1-2+deb11u3 | fixed |
| bullseye (security) | 1.2.16+ds1-2+deb11u4 | fixed |
| bookworm | 1.2.24+ds1-1+deb12u4 | fixed |
| bookworm (security) | 1.2.24+ds1-1+deb12u2 | fixed |
| sid, trixie | 1.2.28+ds1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
cacti | source | wheezy | (not affected) | | | |
cacti | source | jessie | (not affected) | | | |
cacti | source | stretch | (not affected) | | | |
cacti | source | (unstable) | 1.1.37+ds1-1 | | | |
Notes
[stretch] - cacti <not-affected> (Issue introduced later)
[jessie] - cacti <not-affected> (Issue introduced later)
[wheezy] - cacti <not-affected> (Issue introduced later)
https://github.com/Cacti/cacti/issues/1457
get_current_page was added in the 1.x series
PHP_SELF/SCRIPT_NAME inconsistency protection in global/include.php in v<1.1.4