CVE-2023-39365: Cacti link Local File Inclusion Remote Code Execution Vulnerability

Published Sep 5, 2023
·
Updated

Cacti is an open source operational monitoring and fault management framework. Issues with Cacti Regular Expression validation combined with the external links feature can lead to limited SQL Injections and subsequent data leakage. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Other sources

This vulnerability allows remote attackers to bypass authentication or escalate privileges on affected installations of Cacti. Authentication is required to exploit this vulnerability when the product is in its default configuration. The specific flaw exists within the graphview endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to construct SQL queries. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the service account.

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Cacti. Authentication is required to exploit this vulnerability. The specific flaw exists within the link endpoint. The issue results from the lack of proper validation of data retrieved from the database prior to passing it to a PHP include function. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the service account.

Affected Software

5 affected componentsFixes available
debian/cacti<=1.2.2+ds1-2+deb10u4, <=1.2.2+ds1-2+deb10u5, <=1.2.16+ds1-2+deb11u1, <=1.2.24+ds1-1
1.2.16+ds1-2+deb11u21.2.24+ds1-1+deb12u11.2.25+ds1-2
Cacti
Cacti<1.2.25
fedoraproject fedora=37
fedoraproject fedora=38

Event History

Sep 5, 2023
CVE Published
via MITRE·09:03 PM
Data Sourced
via MITRE·09:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 29, 2025
Advisory Published
06:51 AM
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 CVE-2023-39365?

CVE-2023-39365 is a vulnerability in the Cacti open source operational monitoring and fault management framework that can lead to limited SQL Injections and subsequent data leakage.

2

What is the severity of CVE-2023-39365?

The severity of CVE-2023-39365 is rated as medium with a CVSS score of 6.3.

3

How does CVE-2023-39365 affect Cacti?

CVE-2023-39365 affects Cacti versions up to and excluding 1.2.25, allowing for limited SQL Injections and potential data leakage.

4

How do I fix CVE-2023-39365?

To fix CVE-2023-39365, users are advised to upgrade to Cacti version 1.2.25.

5

Where can I find more information about CVE-2023-39365?

For more information about CVE-2023-39365, you can visit the Cacti Security Advisories page on GitHub (link provided in the references).

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