CVE-2025-34030 sar2html OS Command Injection
Remote unauthenticated attackers can execute arbitrary OS commands via the plot parameter in sar2html, leading to full system compromise.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-34030?
CVE-2025-34030 is a critical command injection vulnerability in sar2html, published on 20 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-78
Which versions are affected by CVE-2025-34030?
How do I fix CVE-2025-34030?
No fix has been published for CVE-2025-34030 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-34030 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34030 exists.
Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.
Sources
Also known as GHSA-f9p6-9wvr-9crm.