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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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
30. August 2024 09:25
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