// For flags

CVE-2024-25999

PHOENIX CONTACT: Privilege escalation in the OCPP agent service

Severity Score

8.4
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track
*SSVC
Descriptions

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

Un atacante local no autenticado puede realizar una escalada de privilegios debido a una validaciĆ³n de entrada incorrecta en el servicio del agente OCPP.

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 charx_pack_logs script. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.

*Credits: Chris Anastasio, Fabius Watson
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
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
Partial
* Organization's Worst-case Scenario
Timeline
  • 2024-02-14 CVE Reserved
  • 2024-03-12 CVE Published
  • 2024-06-24 EPSS Updated
  • 2024-08-01 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-20: Improper Input Validation
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.0
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3000" and version " <= 1.5.0"
en
Affected
PHOENIX CONTACT
Search vendor "PHOENIX CONTACT"
CHARX SEC-3050
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3050"
<= 1.5.0
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3050" and version " <= 1.5.0"
en
Affected
PHOENIX CONTACT
Search vendor "PHOENIX CONTACT"
CHARX SEC-3100
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3100"
<= 1.5.0
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3100" and version " <= 1.5.0"
en
Affected
PHOENIX CONTACT
Search vendor "PHOENIX CONTACT"
CHARX SEC-3150
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3150"
<= 1.5.0
Search vendor "PHOENIX CONTACT" for product "CHARX SEC-3150" and version " <= 1.5.0"
en
Affected