# CVE-2025-3881: eCharge Hardy Barth cPH2 check_req.php ntp Command Injection Remote Code Execution Vulnerability

- Severity: High 8.8 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 53% of CVEs (2026-12-01)
- Published: 2025-05-22T00:48:31.860Z
- Modified: 2026-06-17T09:20:51.283Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: zdi

## 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.

(As written by CVE List.)

## Affected

- eCharge Hardy Barth cPH2: 2.0.4
- hardy-barth cph2_echarge_firmware: 2.0.4

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-25-247/> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-3881](https://www.cve.org/CVERecord?id=CVE-2025-3881), CVE Terms of Use, modified 2025-05-22
- NVD: [CVE-2025-3881](https://nvd.nist.gov/vuln/detail/CVE-2025-3881), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-3881 · Whole record: https://cve.day/CVE-2025-3881.json · Rebuilt by cve.day 2026-11-25T22:58:58.378Z
