Share: Email | Twitter

ID

VDE-2024-011

Published

2024-03-12 08:00 (CET)

Last update

2024-03-12 09:03 (CET)

Vendor(s)

PHOENIX CONTACT GmbH & Co. KG

Product(s)

Article No┬░ Product Name Affected Version(s)
1139022 CHARX SEC-3000 <= 1.5.0
1139018 CHARX SEC-3050 <= 1.5.0
1139012 CHARX SEC-3100 <= 1.5.0
1138965 CHARX SEC-3150 <= 1.5.0

Summary

Multiple vulnerabilities have been discovered in the Firmware of CHARX SEC charge controllers. These vulnerabilities were discovered as part of a PWN2OWN competition initiated by Trend Micro Zero Day Initiative (ZDI).

Vulnerabilities



Last Update
Feb. 23, 2024, 11:15 a.m.
Weakness
Missing Authentication for Critical Function (CWE-306)
Summary

An unauthenticated remote attacker can modify configurations to perform a remote code execution due to a missing authentication for a critical function.

Last Update
Feb. 23, 2024, 2 p.m.
Weakness
Cleartext Transmission of Sensitive Information (CWE-319)
Summary

An unauthenticated remote attacker can influence the communication due to the lack of encryption of sensitive data via a MITM. Charging is not affected.

Last Update
Feb. 23, 2024, 11:22 a.m.
Weakness
Improper Input Validation (CWE-20)
Summary

An unauthenticated local attacker can perform a privilege escalation due to improper input validation in the OCPP agent service. 

Last Update
Feb. 27, 2024, 10:09 a.m.
Weakness
Improper Input Validation (CWE-20)
Summary

An improper input validation in the Qualcom plctool allows a local attacker with low privileges to gain root access by changing the ownership of specific files.

Last Update
Feb. 23, 2024, 1:56 p.m.
Weakness
Out-of-bounds Read (CWE-125)
Summary

An unauthenticated remote attacker can DoS the control agent due to a out-of-bounds read which may prevent or disrupt the charging functionality. 

Last Update
Feb. 23, 2024, 1:57 p.m.
Weakness
Access of Uninitialized Pointer (CWE-824)
Summary

An unauthenticated remote attacker can DoS a control agent due to access of a uninitialized pointer which may prevent or disrupt the charging functionality.

Last Update
March 7, 2024, 12:02 p.m.
Weakness
Improper Input Validation (CWE-20)
Summary

An unauthenticated remote attacker can write memory out of bounds due to improper input validation in the MQTT stack. The brute force attack is not always successful because of memory randomization.

Last Update
Feb. 23, 2024, 11:20 a.m.
Weakness
Improper Input Validation (CWE-20)
Summary

An unauthenticated remote attacker can perform a command injection with limited privileges due to improper input validation.

Last Update
March 7, 2024, 12:01 p.m.
Weakness
Improper Input Validation (CWE-20)
Summary

An unauthenticated remote attacker can read memory out of bounds due to improper input validation in the MQTT stack. The brute force attack is not always successful because of memory randomization. 

Last Update
Feb. 23, 2024, 11:03 a.m.
Weakness
Improper Input Validation (CWE-20)
Summary

An unauthenticated remote attacker can upload a arbitrary script file due to improper input validation. The upload destination is fixed and is write only.

Last Update
Feb. 23, 2024, 11:19 a.m.
Weakness
Improper Input Validation (CWE-20)
Summary

An unauthenticated remote attacker can perform a log injection due to improper input validation. Only a certain log file is affected.

Last Update
Feb. 23, 2024, 11:17 a.m.
Weakness
Origin Validation Error (CWE-346)
Summary

An unauthenticated remote attacker can perform a remote code execution due to an origin validation error. The access is limited to the service user.

Last Update
Feb. 23, 2024, 1:59 p.m.
Weakness
Incomplete Cleanup (CWE-459)
Summary

An unauthenticated remote attacker can gain service level privileges through an incomplete cleanup during service restart after a DoS. 

Impact

CVE-2024-25994, CVE-2024-25996,CVE-2024-25997,CVE-2024-26000
These vulnerabilities can be exploited by a malicious attacker without local account to gain root privileges, which allows him to take over the device.


CVE-2024-26003
This vulnerability can be used by a malicious attacker without local account to perform remote code execution with the privileges of the ControllerAgent service.


Some of the Vulnerabilities represent a medium risk on their own, nevertheless chaining or combining these vulnerabilities can trigger an RCE that leads to the complete compromise of the device.

Solution

Mitigation

Phoenix Contact recommends operating network-capable devices in closed networks or protected with a suitable firewall. For detailed information on our recommendations for measures to protect network-capable devices, please refer to our application note.
Measures to protect network-capable devices with Ethernet connection

Remediation

Phoenix Contact strongly recommends updating to firmware version v1.5.1 or higher, which fixes these vulnerabilities.

Reported by

CERT@VDE coordinated with PHOENIX CONTACT 

These vulnerabilities were discovered as part of a PWN2OWN competition initiated by Trend Micro Zero Day Initiative (ZDI).

We kindly appreciate the coordinated disclosure of this vulnerabilities by ZDI and the finders:

  • Jack Dates of RET2 Systems 
  • Alex Plaskett and McCaulay Hudson of NCC Group 
  • Peter Geissler, Rick De Jager, Carlo Meijer 
  • Tobias Scharnowski and Felix Buchmann of fuzzware.io 
  • Chris Anastasio and Fabius Watson