sar2html OS Command Injection
No fixed version listed yet.Check the vendor advisory. References ↓
sar2html · sar2html
The sar2html web application, through version 3.2.2, contains an OS command injection flaw in the plot parameter of index.php, where user-supplied input is passed into a system-level context without sanitization. A remote, unauthenticated attacker with network access can exploit it by sending a crafted GET request that appends shell commands to the plot parameter (for example ?plot=;id), achieving arbitrary command execution on the underlying system without user interaction or configuration changes, with command output shown in the application interface.
Official description · CVE.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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited the day it was disclosed. Public exploit code (PoC-in-GitHub) appeared 2 months after disclosure.
- Public exploit codePoC-in-GitHub+2 mo
Affected versions and fixes
as published in the CVE recordsar2html sar2html
Affected: <= 3.2.2
Attack pattern (CAPEC)
CAPEC-88 OS Command Injection