// For flags

CVE-2024-28137

PHOENIX CONTACT: privilege escalation due to a TOCTOU vulnerability in the CHARX Series

Severity Score

7.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

A local attacker with low privileges can perform a privilege escalation with an init script due to a TOCTOU vulnerability.

Un atacante local con privilegios bajos puede realizar una escalada de privilegios con un script de inicio debido a una vulnerabilidad de TOCTOU.

This vulnerability allows local attackers to escalate privileges on affected installations of Phoenix Contact CHARX SEC-3100 charging controllers. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
The specific flaw exists within the /etc/init.d/user-applications script. By creating a symbolic link, an attacker can abuse the script to change ownership of arbitrary files. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.

*Credits: Trend Micro's Zero Day Initiative, Todd Manning
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
None
Automatable
No
Tech. Impact
Total
* Organization's Worst-case Scenario
Timeline
  • 2024-03-05 CVE Reserved
  • 2024-05-14 CVE Published
  • 2024-06-01 EPSS Updated
  • 2024-08-02 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
PHOENIX CONTACT
Search vendor "PHOENIX CONTACT"
CHARX SEC-3000
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3000"
<= 1.5.1
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3000" and version " <= 1.5.1"
en
Affected
PHOENIX CONTACT
Search vendor "PHOENIX CONTACT"
CHARX SEC-3050
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3050"
<= 1.5.1
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3050" and version " <= 1.5.1"
en
Affected
PHOENIX CONTACT
Search vendor "PHOENIX CONTACT"
CHARX SEC-3100
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3100"
<= 1.5.1
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3100" and version " <= 1.5.1"
en
Affected
PHOENIX CONTACT
Search vendor "PHOENIX CONTACT"
CHARX SEC-3150
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3150"
<= 1.5.1
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3150" and version " <= 1.5.1"
en
Affected