SecurityContext

CVE-2025-3881: eCharge Hardy Barth cPH2 - Command Injection

  • Cve: CVE-2025-3881
  • Name: eCharge Hardy Barth cPH2 - Command Injection
  • Description: eCharge Hardy Barth cPH2 check_req.php ntp Command Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of eCharge Hardy Barth cPH2 charging stations. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the ntp parameter provided to the check_req.php endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the www-data user. Was ZDI-CAN-23113.
  • Impact: Network-adjacent attackers can execute arbitrary code as www-data, potentially compromising the system fully.
  • Remediation: Update to the latest version or apply vendor-provided patches addressing this vulnerability.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00688
  • Epss percentile: 0.53449
  • Assignee: [email protected]
  • Published at: 2025-05-22T01:15:53Z
  • Age in days: 551
  • Modified at: 2026-06-17T09:20:51Z
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-3881
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

References

UrlSourceTags
https://www.zerodayinitiative.com/advisories/ZDI-25-247/nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
hardy-barth:cph2_echarge_firmware= 2.0.4yesnvd/v1/products/hardy-barth/cph2_echarge_firmware

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts