#VU89907 Time-of-check Time-of-use (TOCTOU) Race Condition in Phoenix Contact GmbH products - CVE-2024-28137


Vulnerability identifier: #VU89907

Vulnerability risk: Low

CVSSv4.0: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2024-28137

CWE-ID: CWE-367

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
CHARX SEC-3000
Hardware solutions / Firmware
CHARX SEC-3050
Hardware solutions / Firmware
CHARX SEC-3100
Hardware solutions / Firmware
CHARX SEC-3150
Hardware solutions / Firmware

Vendor: Phoenix Contact GmbH

Description

The vulnerability allows a local user to compromise the target system.

The vulnerability exists due to a time-of-check, time-of-use (TOCTOU) race condition within the /etc/init.d/user-applications script. A local user can create a symbolic link to change ownership of arbitrary files and gain elevated privilege on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

CHARX SEC-3000: 1.5.1

CHARX SEC-3050: 1.5.1

CHARX SEC-3100: 1.5.1

CHARX SEC-3150: 1.5.1


External links
https://cert.vde.com/en/advisories/VDE-2024-019
https://www.zerodayinitiative.com/advisories/ZDI-24-523/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability