CVE-2025-34030 PUBLISHED

sar2html OS Command Injection

Assigner: VulnCheck
Reserved: 15.04.2025 Published: 20.06.2025 Updated: 20.06.2025

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.

Metrics

CVSS Vector: 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
CVSS Score: 10

Product Status

Vendor sar2html
Product sar2html
Versions Default: unaffected
  • affected from 0 to 3.2.2 (incl.)

Credits

  • Furkan Kayapinar finder

References

Problem Types

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE
  • CWE-20 Improper Input Validation CWE

Impacts

  • CAPEC-88 OS Command Injection