Sar2html
sar2html OS Command Injection
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 3.2.2
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 66 days after publication; not in CISA KEV. First PoC: HackerTyperAbuser/CVE-2025-34030-PoC (created 26 Aug 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| HackerTyperAbuser/CVE-2025-34030-PoC | 26 Aug 2025 +66 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://www.exploit-db.com/exploits/47204 | unknown | 14 Nov 2026 |
| nuclei template | nuclei template: sar2html <=3.2.2 Plot Parameter - Remote Code Execution | 10 May 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /index.php
- Query
plot=; idplot=;%20/bin/bash%20-c%20...- Ports
- 80, 443
- Seen in
- 1 repo: HackerTyperAbuser/CVE-2025-34030-PoC
- Evidence
- HackerTyperAbuser/CVE-2025-34030-PoC/exploit.py:91 HackerTyperAbuser/CVE-2025-34030-PoC/exploit.py:77 HackerTyperAbuser/CVE-2025-34030-PoC/exploit.py:105
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/index\.php\?(?:.*&)?plot=; id.*plot=;%20/bin/bash%20-c%20\.\.\.
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2025-34030 sar2html sar2html exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/index.php"; http.uri; content:"plot=|3b| id"; http.uri; content:"plot=|3b|%20/bin/bash%20-c%20..."; reference:url,poc.griffinguard.io/cve/CVE-2025-34030; classtype:web-application-attack; sid:9267175; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: sar2html sar2html exploit attempt (CVE-2025-34030)
id: gg-pocmon-cve-2025-34030-9267175
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-34030. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-34030
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/index.php'
cs-uri-query|contains|all:
- 'plot=; id'
- 'plot=;%20/bin/bash%20-c%20...'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.34030