CVE-2025-24368: Cacti has a SQL Injection vulnerability when using tree rules through Automation API

Published Jan 27, 2025
·
Updated

Cacti is an open source performance and fault management framework. Some of the data stored in automationtreerules.php is not thoroughly checked and is used to concatenate the SQL statement in buildruleitemfilter() function from lib/apiautomation.php, resulting in SQL injection. This vulnerability is fixed in 1.2.29.

Affected Software

7 affected componentsFixes available
Cacti Cacti<1.2.29
Cacti Cacti<1.2.29
debian/cacti
1.2.24+ds1-1+deb12u51.2.30+ds1-11.2.31+ds1-4
alpine/cacti<1.2.29-r0
1.2.29-r0
alpine/cacti<1.2.29-r0
1.2.29-r0
alpine/cacti<1.2.29-r0
1.2.29-r0
alpine/cacti<1.2.29-r0
1.2.29-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.24+ds1-1+deb12u5Fixed in 1.2.30+ds1-1Fixed in 1.2.31+ds1-4
  2. Upgrade

    Upgrade alpine/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.29-r0
  3. Upgrade

    Upgrade Cacti to a version that resolves this vulnerability.

    Fixed in 1.2.29

Event History

Jan 27, 2025
CVE Published
via MITRE·05:16 PM
Data Sourced
via MITRE·05:16 PM
DescriptionWeakness
Data Sourced
via OSV·05:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 3, 2026
Data Sourced
via OSV·06:32 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-24368?

CVE-2025-24368 has a high severity rating due to its potential for SQL injection attacks.

2

How do I fix CVE-2025-24368?

To fix CVE-2025-24368, upgrade to Cacti version 1.2.30 or later where the vulnerability is patched.

3

What version of Cacti is affected by CVE-2025-24368?

CVE-2025-24368 affects Cacti versions up to 1.2.29 exclusively.

4

What kind of vulnerability is CVE-2025-24368?

CVE-2025-24368 is a SQL injection vulnerability that can expose sensitive data.

5

Which file is involved in CVE-2025-24368?

The vulnerability in CVE-2025-24368 involves the automation_tree_rules.php file and its interaction with the build_rule_item_filter() function.

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