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

No CVSS.

References
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:hardy-barth:cph2_echarge_firmware:2.0.4:*:*:*:*:*:*:*
cpe:2.3:h:hardy-barth:cph2_echarge:-:*:*:*:*:*:*:*

History

13 Aug 2025, 16:27

Type Values Removed Values Added
References () https://www.zerodayinitiative.com/advisories/ZDI-25-247/ - () https://www.zerodayinitiative.com/advisories/ZDI-25-247/ - Third Party Advisory
CPE cpe:2.3:h:hardy-barth:cph2_echarge:-:*:*:*:*:*:*:*
cpe:2.3:o:hardy-barth:cph2_echarge_firmware:2.0.4:*:*:*:*:*:*:*
First Time Hardy-barth
Hardy-barth cph2 Echarge Firmware
Hardy-barth cph2 Echarge

22 May 2025, 01:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-22 01:15

Updated : 2025-08-13 16:27


NVD link : CVE-2025-3881

Mitre link : CVE-2025-3881


JSON object : View

Products Affected

hardy-barth

  • cph2_echarge_firmware
  • cph2_echarge
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')