Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-29895— Cacti command injection in cmd_realtime.php

CVSS 10.0 · Critical EPSS 93.22% · P100
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-29895

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cacti command injection in cmd_realtime.php
Source: NVD (National Vulnerability Database)
Vulnerability Description
Cacti provides an operational monitoring and fault management framework. A command injection vulnerability on the 1.3.x DEV branch allows any unauthenticated user to execute arbitrary command on the server when `register_argc_argv` option of PHP is `On`. In `cmd_realtime.php` line 119, the `$poller_id` used as part of the command execution is sourced from `$_SERVER['argv']`, which can be controlled by URL when `register_argc_argv` option of PHP is `On`. And this option is `On` by default in many environments such as the main PHP Docker image for PHP. Commit 53e8014d1f082034e0646edc6286cde3800c683d contains a patch for the issue, but this commit was reverted in commit 99633903cad0de5ace636249de16f77e57a3c8fc.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Cacti 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cacti是Cacti团队的一套开源的网络流量监测和分析工具。该工具通过snmpget来获取数据,使用RRDtool绘画图形进行分析,并提供数据和用户管理功能。 Cacti存在安全漏洞,该漏洞源于存在命令注入漏洞,允许任何未经身份验证的用户在服务器上执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

VendorProductAffected VersionsCPESubscribe
Cacticacti = 1.3.x DEV -

II. Public POCs for CVE-2024-29895

#POC DescriptionSource LinkShenlong Link
1CVE-2024-29895 PoC - Exploiting remote command execution in Cacti servers using the 1.3.X DEV branch buildshttps://github.com/Stuub/CVE-2024-29895-CactiRCE-PoCPOC Details
2Cacti CVE-2024-29895 POChttps://github.com/secunnix/CVE-2024-29895POC Details
3Nonehttps://github.com/ticofookfook/CVE-2024-29895.pyPOC Details
4CVE-2024-29895 | RCE on CACTI 1.3.X devhttps://github.com/Rubioo02/CVE-2024-29895POC Details
5CVE-2024-29895-CactiRCE-PoC , RCE, POC, CVE-2024-29895https://github.com/nancyariah4/CVE-2024-29895-CactiRCE-PoCPOC Details
6Cacti provides an operational monitoring and fault management framework. A command injection vulnerability on the 1.3.x DEV branch allows any unauthenticated user to execute arbitrary command on the server when `register_argc_argv` option of PHP is `On`. In `cmd_realtime.php` line 119, the `$poller_id` used as part of the command execution is sourced from `$_SERVER['argv']`, which can be controlled by URL when `register_argc_argv` option of PHP is `On`. And this option is `On` by default in many environments such as the main PHP Docker image for PHP. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-29895.yamlPOC Details
7CVE-2024-29895 | RCE on CACTI 1.3.X devhttps://github.com/apaz-dev/CVE-2024-29895POC Details
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-29895

登录查看更多情报信息。

Same Patch Batch · Cacti · 2024-05-13 · 12 CVEs total

CVE-2024-256419.1 CRITICALCacti RCE vulnerability when importing packages
CVE-2024-343409.1 CRITICALAuthentication Bypass when using using older password hashes
CVE-2024-314458.8 HIGHSQL Injection vulnerability in automation_get_new_graphs_sql
CVE-2024-314598.1 HIGHCacti RCE vulnerability by file include in lib/plugin.php
CVE-2024-270827.6 HIGHCacti Cross-site Scripting vulnerability when managing trees
CVE-2024-314606.5 MEDIUMCacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data s
CVE-2024-302686.1 MEDIUMCacti XSS vulnerability in display_settings
CVE-2024-314435.7 MEDIUMCacti XSS vulnerability in lib/html_tree.php by reading dirty data stored in database
CVE-2024-298945.4 MEDIUMCacti Cross-site Scripting vulnerability when using JavaScript based messaging API
CVE-2024-314584.6 MEDIUMCacti SQL Injection vulnerability in lib/html_form_templates.php by reading dirty data sto
CVE-2024-314444.6 MEDIUMCacti XSS vulnerability in lib/html.php by reading dirty data stored in database

IV. Related Vulnerabilities

V. Comments for CVE-2024-29895

No comments yet


Leave a comment