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.
Metrics
Affected Vendors & Products
References
Link | Providers |
---|---|
https://www.zerodayinitiative.com/advisories/ZDI-25-247/ |
![]() ![]() |
History
Wed, 13 Aug 2025 16:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Hardy-barth
Hardy-barth cph2 Echarge Hardy-barth cph2 Echarge Firmware |
|
CPEs | cpe:2.3:h:hardy-barth:cph2_echarge:-:*:*:*:*:*:*:* cpe:2.3:o:hardy-barth:cph2_echarge_firmware:2.0.4:*:*:*:*:*:*:* |
|
Vendors & Products |
Hardy-barth
Hardy-barth cph2 Echarge Hardy-barth cph2 Echarge Firmware |
Thu, 22 May 2025 19:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Thu, 22 May 2025 01:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | eCharge Hardy Barth cPH2 check_req.php ntp Command Injection Remote Code Execution Vulnerability | |
Weaknesses | CWE-78 | |
References |
| |
Metrics |
cvssV3_0
|

Status: PUBLISHED
Assigner: zdi
Published:
Updated: 2025-05-22T18:38:54.469Z
Reserved: 2025-04-22T21:42:34.959Z
Link: CVE-2025-3881

Updated: 2025-05-22T18:38:50.112Z

Status : Analyzed
Published: 2025-05-22T01:15:53.753
Modified: 2025-08-13T16:27:54.610
Link: CVE-2025-3881

No data.