CVE-2024-29894: Cacti Cross-site Scripting vulnerability when using JavaScript based messaging API

Published May 13, 2024
·
Updated

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. raisemessagejavascript 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.

Affected Software

3 affected componentsFixes available
debian/cacti<=1.2.24+ds1-1+deb12u2
1.2.16+ds1-2+deb11u31.2.16+ds1-2+deb11u41.2.24+ds1-1+deb12u41.2.27+ds1-2
Cacti<1.2.27
fedoraproject fedora=39

Event History

May 13, 2024
CVE Published
via MITRE·02:24 PM
Data Sourced
via MITRE·02:24 PM
DescriptionSeverityWeakness
May 14, 2024
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness
Aug 20, 2024
Data Sourced
via Launchpad·02:19 PM
Description
Sep 13, 2024
Data Sourced
via Ubuntu·02:22 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-29894?

CVE-2024-29894 is classified as a residual cross-site scripting vulnerability.

2

How do I fix CVE-2024-29894?

To fix CVE-2024-29894, upgrade to Cacti version 1.2.27 or later.

3

Which versions of Cacti are affected by CVE-2024-29894?

CVE-2024-29894 affects all versions of Cacti prior to version 1.2.27.

4

Is CVE-2024-29894 related to any earlier vulnerabilities?

Yes, CVE-2024-29894 is related to an incomplete fix for CVE-2023-50250.

5

What specific functions are involved in CVE-2024-29894?

The vulnerability involves the `raise_message_javascript` function from the `lib/functions.php` file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203