Root privilege escalation via passwordless sudo
Published Feb 6, 2024 · Updated Jul 9, 2026
Privilege escalation in eCharge Hardy Barth cPH2 1.87.0 and earlier allows remote authenticated users to gain root access. The cPH2 web service runs as www-data, and that account can invoke sudo without a password, converting control of the service account into root execution. Reaching the flaw requires access to the www-data context; successful exploitation permits commands to run with root privileges on the charging station.
Summary
What happened
Privilege escalation in eCharge Hardy Barth cPH2 1.87.0 and earlier allows remote authenticated users to gain root access. The cPH2 web service runs as www-data, and that account can invoke sudo without a password, converting control of the service account into root execution. Reaching the flaw requires access to the www-data context; successful exploitation permits commands to run with root privileges on the charging station.
The record
- CVE
- CVE-2023-46360
- Published
- Feb 6, 2024
- Updated
- Jul 9, 2026
- Vendor
- eCharge Hardy Barth GmbH
- Product
- cPH2
- Classifications
- CWE-250, T1548.003
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 6, 2024CVE publishedPublication date reported by the CVE source.
- Jul 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <v1.87.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- cPH2 www-data passwordless-sudo demonstrationfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo