Root code execution via crafted Charger ID
Published May 14, 2024 · Updated Jan 24, 2025
Command injection in Phoenix Contact CHARX SEC-3xxx firmware 1.5.1 and earlier allows remote attackers to execute code as root. The OCPP Remote service passes the user-controlled Charger ID from a Get Diagnostics command into a system call without validating special characters. Exploitation requires an open OCPP management port and an attacker-controlled OCPP backend; successful commands run with root privileges.
Summary
What happened
Command injection in Phoenix Contact CHARX SEC-3xxx firmware 1.5.1 and earlier allows remote attackers to execute code as root. The OCPP Remote service passes the user-controlled Charger ID from a Get Diagnostics command into a system call without validating special characters. Exploitation requires an open OCPP management port and an attacker-controlled OCPP backend; successful commands run with root privileges.
The record
- CVE
- CVE-2024-28136
- Published
- May 14, 2024
- Updated
- Jan 24, 2025
- Vendor
- Phoenix Contact
- Product
- CHARX SEC-3100
- Classifications
- CWE-77, T1059
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 14, 2024CVE publishedPublication date reported by the CVE source.
- Jan 24, 2025Record 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 <=1.5.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Pwn2Own exploit demonstrationreported 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