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

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 22 May 2025 01:15:00 +0000

Type Values Removed Values Added
Description 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.
Title eCharge Hardy Barth cPH2 nwcheckexec.php dest Command Injection Remote Code Execution Vulnerability
Weaknesses CWE-78
References
Metrics cvssV3_0

{'score': 8.8, 'vector': 'CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2025-05-22T18:37:53.253Z

Reserved: 2025-04-22T21:42:39.872Z

Link: CVE-2025-3882

cve-icon Vulnrichment

Updated: 2025-05-22T18:37:46.795Z

cve-icon NVD

Status : Analyzed

Published: 2025-05-22T01:15:53.897

Modified: 2025-08-13T16:24:25.660

Link: CVE-2025-3882

cve-icon Redhat

No data.