Untrusted search path in Symfony - CVE-2024-51736

 

Untrusted search path in Symfony - CVE-2024-51736

Published: November 6, 2024


Vulnerability identifier: #VU99964
CSH Severity: Low
CVSS v4: 8.5 [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]
CVE-ID: CVE-2024-51736
CWE-ID: CWE-426
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to usage of an untrusted search path within the Process class when calling cmd.exe. A local user can place a malicious binary with name cmd.exe into a specific location on the system and execute arbitrary code with escalated privileges.


Affected software

Symfony

How to mitigate CVE-2024-51736

Install updates from vendor's website.

Symfony - addressed in versions 5.4.46, 6.4.14, 7.1.7

External References

Related Security Bulletins