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, 53.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Echarge Hardy Barth Cph2 — versions 2.0.4
- Hardy-Barth Cph2 Echarge Firmware — versions 2.0.4
Weakness classification (CWE)
References
- ZDI-25-247 (x_research-advisory, Third Party Advisory)