Name | CVE-2023-39360 |
Description | Cacti is an open source operational monitoring and fault management framework.Affected versions are subject to a Stored Cross-Site-Scripting (XSS) Vulnerability allows an authenticated user to poison data. The vulnerability is found in `graphs_new.php`. Several validations are performed, but the `returnto` parameter is directly passed to `form_save_button`. In order to bypass this validation, returnto must contain `host.php`. This vulnerability has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to update should manually filter HTML output. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3765-1, DSA-5646-1 |
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-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
cacti | source | buster | 1.2.2+ds1-2+deb10u6 | DLA-3765-1 | ||
cacti | source | bullseye | 1.2.16+ds1-2+deb11u3 | DSA-5646-1 | ||
cacti | source | bookworm | 1.2.24+ds1-1+deb12u2 | DSA-5646-1 | ||
cacti | source | (unstable) | 1.2.25+ds1-1 |
https://github.com/Cacti/cacti/security/advisories/GHSA-gx8c-xvjh-9qh4
Initial fix: https://github.com/cacti/cacti/commit/9696bbd8060c7332b11b709f4dd17e6c3776bba2 (release/1.2.25)
Final fix: https://github.com/cacti/cacti/commit/bc6dc996745ef0dee3427178c8d87a6402f3fefa (release/1.2.25)
PoC doesn't seem to trigger without https://github.com/Cacti/cacti/commit/137340264ac550d060ef17c4d0794fa4abae1c26 (release/1.2.23)