CVE-2005-10004
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-30

Last updated on: 2025-09-02

Assigner: VulnCheck

Description
Cacti versions prior to 0.8.6-d contain a remote command execution vulnerability in the graph_view.php script. An authenticated user can inject arbitrary shell commands via the graph_start GET parameter, which is improperly handled during graph rendering. This flaw allows attackers to execute commands on the underlying operating system with the privileges of the web server process, potentially compromising system integrity.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-30
Last Modified
2025-09-02
Generated
2026-05-06
AI Q&A
2025-08-30
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
raxnet cacti 0.8.6-d
raxnet cacti 0.8.6
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2005-10004 is a remote command execution vulnerability in Cacti versions prior to 0.8.6-d. It exists in the graph_view.php script, where an authenticated user can inject arbitrary shell commands via the graph_start GET parameter. This parameter is improperly handled during graph rendering, allowing attackers to execute commands on the underlying operating system with the privileges of the web server process. [1]


How can this vulnerability impact me? :

This vulnerability allows remote attackers to execute arbitrary operating system commands on the server hosting Cacti with the privileges of the web server process. This can lead to full system compromise, including unauthorized access, data theft, system integrity loss, and potential disruption of services. [1, 3, 4]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by attempting to exploit the command injection flaw in the graph_view.php script using the 'graph_start' parameter with a valid 'local_graph_id'. A practical method is to use the Metasploit module 'cacti_graphimage_exec.rb' which automates this process. The module first sends an HTTP GET request to '/cacti/graph_view.php?action=list' to retrieve a valid 'local_graph_id', then sends a second request injecting shell commands via the 'graph_start' parameter. The output of the injected commands is delimited by marker strings (e.g., 'YYY') in the HTTP response, allowing confirmation of vulnerability. Alternatively, manual testing can be done by sending crafted HTTP GET requests to the vulnerable endpoint and observing command execution results. [2, 3, 4]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include upgrading Cacti to version 0.8.6-d or later, where this vulnerability is fixed. If upgrading is not immediately possible, restrict access to the 'graph_view.php' script to trusted users only, as exploitation requires authentication. Additionally, monitor and limit web server privileges to minimize impact if exploited. Applying web application firewall (WAF) rules to detect and block suspicious 'graph_start' parameter inputs may also help reduce risk until a patch is applied. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart