eCharge Hardy Barth cPH2 Command Injection Remote Code Execution Vulnerability

Vulnerability

A command injection vulnerability allowing remote code execution has been identified in eCharge Hardy Barth cPH2 charging stations. This issue arises in the check_req.php endpoint, where the ntp parameter is not properly validated before being used in a system call. As a result, network-adjacent attackers can execute arbitrary code on the affected devices, with the executed code running under the www-data user. Notably, no authentication is required to exploit this vulnerability.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the affected charging stations, with the executed code running in the context of the www-data user.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
10.0
exploitability
4.7
remediation
0.0
relevance
0.0
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.