CVE-2025-3881 eCharge Hardy Barth cPH2 check_req.php ntp Command Injection Remote Code Execution Vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
2 packages: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| eCharge Hardy Barth cPH2 | = 2.0.4 | No fix listed | Versions listed |
| hardy-barth cph2 echarge firmware | = 2.0.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| eCharge Hardy Barth cPH2 | = 2.0.4 | No fix listed |
| hardy-barth cph2 echarge firmware | = 2.0.4 | No fix listed |
References
- ZDI-25-247 third-party-advisory