CVE-2025-3882

eCharge Hardy Barth cPH2 nwcheckexec.php dest 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 dest parameter provided to the nwcheckexec.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-23114.
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:24

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

22 May 2025, 01:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-22 01:15

Updated : 2025-08-13 16:24


NVD link : CVE-2025-3882

Mitre link : CVE-2025-3882


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')