CVE-2024-29894
Cacti Cross-Site Scripting Vulnerability
Description
Cacti provides an operational monitoring and fault management framework. Versions of Cacti prior to 1.2.27 contain a residual cross-site scripting vulnerability caused by an incomplete fix for CVE-2023-50250. `raise_message_javascript` from `lib/functions.php` now uses purify.js to fix CVE-2023-50250 (among others). However, it still generates the code out of unescaped PHP variables `$title` and `$header`. If those variables contain single quotes, they can be used to inject JavaScript code. An attacker exploiting this vulnerability could execute actions on behalf of other users. This ability to impersonate users could lead to unauthorized changes to settings. Version 1.2.27 fixes this issue.
INFO
Published Date :
May 14, 2024, 3:17 p.m.
Last Modified :
Dec. 18, 2024, 9:10 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.5
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-29894
.
URL | Resource |
---|---|
https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh | Exploit Vendor Advisory |
https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73 | Exploit Vendor Advisory |
https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ | Product |
https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh | Exploit Vendor Advisory |
https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73 | Exploit Vendor Advisory |
https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ | Product |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-29894
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-29894
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 18, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N Added CWE NIST CWE-79 Added CPE Configuration OR *cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:* versions up to (excluding) 1.2.27 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* Changed Reference Type https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh No Types Assigned https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh Exploit, Vendor Advisory Changed Reference Type https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh No Types Assigned https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh Exploit, Vendor Advisory Changed Reference Type https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73 No Types Assigned https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73 Exploit, Vendor Advisory Changed Reference Type https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73 No Types Assigned https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73 Exploit, Vendor Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ Product Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ Product -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh Added Reference https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73 Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ -
CVE Modified by [email protected]
Jun. 10, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ [No types assigned] -
CVE Received by [email protected]
May. 14, 2024
Action Type Old Value New Value Added Description Cacti provides an operational monitoring and fault management framework. Versions of Cacti prior to 1.2.27 contain a residual cross-site scripting vulnerability caused by an incomplete fix for CVE-2023-50250. `raise_message_javascript` from `lib/functions.php` now uses purify.js to fix CVE-2023-50250 (among others). However, it still generates the code out of unescaped PHP variables `$title` and `$header`. If those variables contain single quotes, they can be used to inject JavaScript code. An attacker exploiting this vulnerability could execute actions on behalf of other users. This ability to impersonate users could lead to unauthorized changes to settings. Version 1.2.27 fixes this issue. Added Reference GitHub, Inc. https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh [No types assigned] Added Reference GitHub, Inc. https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73 [No types assigned] Added CWE GitHub, Inc. CWE-116 Added CWE GitHub, Inc. CWE-79 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-29894
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-29894
weaknesses.