CVE-2024-31459CWE-98

Cacti RCE vulnerability by file include in lib/plugin.php

High · published May 13, 2024

CVSS v3.1
8.1
EPSS
3%
Percentile
85.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02677 · 85.7th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2024-05-13T15:11Z
EPSS history
Timeline
  • 13 MAY 15:11Z
    Cacti RCE vulnerability by file include in lib/plugin.php
    cvelistv5