8.0
HIGH CVSS 3.1
CVE-2024-31459
Cacti Remote File Inclusion and SQL Injection Vulnerability
Description

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, there is a file inclusion issue in the `lib/plugin.php` file. Combined with SQL injection vulnerabilities, remote code execution can be implemented. There is a file inclusion issue with the `api_plugin_hook()` function in the `lib/plugin.php` file, which reads the plugin_hooks and plugin_config tables in database. The read data is directly used to concatenate the file path which is used for file inclusion. Version 1.2.27 contains a patch for the issue.

INFO

Published Date :

May 14, 2024, 3:25 p.m.

Last Modified :

Dec. 18, 2024, 8:49 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-31459 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Cacti cacti
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
Update Cacti to address remote file inclusion and SQL injection vulnerabilities.
  • Update Cacti to version 1.2.27 or later.
  • Update the cacti and/or cacti-spine packages.
Public PoC/Exploit Available at Github

CVE-2024-31459 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

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-31459 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-31459 weaknesses.

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

这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目

HTML

Updated: 5 days, 14 hours ago
4 stars 1 fork 1 watcher
Born at : Sept. 20, 2024, 3:27 a.m. This repo has been linked 252 different CVEs too.

一个漏洞 PoC 知识库。A knowledge base for vulnerability PoCs(Proof of Concept), with 1k+ vulnerabilities.

poc

Dockerfile

Updated: 1 day, 11 hours ago
4484 stars 898 fork 898 watcher
Born at : Feb. 20, 2022, 6:43 a.m. This repo has been linked 456 different CVEs too.

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-31459 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-31459 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:H/UI:N/S:U/C:H/I:H/A:H
    Added CWE NIST NVD-CWE-Other
    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-cx8g-hvq8-p2rv No Types Assigned https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv Exploit, Vendor Advisory
    Changed Reference Type https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv No Types Assigned https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv Exploit, Vendor Advisory
    Changed Reference Type https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r No Types Assigned https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r Exploit, Vendor Advisory
    Changed Reference Type https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r No Types Assigned https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r Exploit, Vendor Advisory
    Changed Reference Type https://github.com/Cacti/cacti/security/advisories/GHSA-pfh9-gwm6-86vp No Types Assigned https://github.com/Cacti/cacti/security/advisories/GHSA-pfh9-gwm6-86vp Exploit, Vendor Advisory
    Changed Reference Type https://github.com/Cacti/cacti/security/advisories/GHSA-pfh9-gwm6-86vp No Types Assigned https://github.com/Cacti/cacti/security/advisories/GHSA-pfh9-gwm6-86vp 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-cx8g-hvq8-p2rv
    Added Reference https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r
    Added Reference https://github.com/Cacti/cacti/security/advisories/GHSA-pfh9-gwm6-86vp
    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. Prior to version 1.2.27, there is a file inclusion issue in the `lib/plugin.php` file. Combined with SQL injection vulnerabilities, remote code execution can be implemented. There is a file inclusion issue with the `api_plugin_hook()` function in the `lib/plugin.php` file, which reads the plugin_hooks and plugin_config tables in database. The read data is directly used to concatenate the file path which is used for file inclusion. Version 1.2.27 contains a patch for the issue.
    Added Reference GitHub, Inc. https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv [No types assigned]
    Added Reference GitHub, Inc. https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r [No types assigned]
    Added Reference GitHub, Inc. https://github.com/Cacti/cacti/security/advisories/GHSA-pfh9-gwm6-86vp [No types assigned]
    Added CWE GitHub, Inc. CWE-98
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact