Vulnerability Details : CVE-2024-31460
Potential exploit
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `automation_tree_rules.php` is not thoroughly checked and is used to concatenate the SQL statement in `create_all_header_nodes()` function from `lib/api_automation.php` , finally resulting in SQL injection. Using SQL based secondary injection technology, attackers can modify the contents of the Cacti database, and based on the modified content, it may be possible to achieve further impact, such as arbitrary file reading, and even remote code execution through arbitrary file writing. Version 1.2.27 contains a patch for the issue.
Vulnerability category: Sql InjectionExecute code
Products affected by CVE-2024-31460
- cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
- cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2024-31460
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 30 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2024-31460
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
N/A
|
N/A
|
GitHub, Inc. | 2024-05-13 |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | 2024-12-18 |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
2.8
|
3.6
|
GitHub, Inc. | 2024-05-14 |
CWE ids for CVE-2024-31460
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2024-31460
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/
[SECURITY] Fedora 39 Update: cacti-spine-1.2.27-1.fc39 - package-announce - Fedora Mailing-ListsProduct
-
https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r
SQL Injection vulnerability when using tree rules through Automation API · Advisory · Cacti/cacti · GitHubExploit;Vendor Advisory
-
https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv
RCE vulnerability when plugins include files · Advisory · Cacti/cacti · GitHubExploit;Vendor Advisory
Jump to