RCE in Echarge Hardy Barth Cph2
CVE-2025-3881
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.007 (50.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 50th percentile — 50.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Echarge Hardy Barth Cph2 — versions 2.0.4
- Hardy-Barth Cph2 Echarge
- Hardy-Barth Cph2 Echarge Firmware — versions 2.0.4
Weakness classification (CWE)
References
- www.zerodayinitiative.com/advisories/ZDI-25-247/ (x_research-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-3881?
- CVE-2025-3881 is a high-severity vulnerability in Echarge Hardy Barth Cph2, classified under OS Command Injection. CVSS score: 8.8/10. Published 2025-05-22.
- How severe is CVE-2025-3881?
- High severity. CVSS v3 base score is 8.8 out of 10.