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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sar2html | sar2html | ≤ 3.2.2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
HackerTyperAbuser/CVE-2025-34030-PoC ★ 0 · Aug 26, 2025
PoC for CVE-2025-34030 sar2html 'plot' parameter RCE
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- sar2html <=3.2.2 Plot Parameter - Remote Code Execution http/cves/2025/CVE-2025-34030.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://github.com/cemtan/sar2html product
- https://www.exploit-db.com/exploits/47204 exploit
- https://www.fortiguard.com/encyclopedia/ips/48624 third-party-advisory
- https://vulncheck.com/advisories/sar2html-command-injection third-party-advisory