Improper protection of alternate path in Yii - CVE-2024-58136

 

Improper protection of alternate path in Yii - CVE-2024-58136

Published: April 28, 2025


Vulnerability identifier: #VU107992
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-58136
CWE-ID: CWE-424
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to improper protection of alternate path in framework/base/Component.php. A remote non-authenticated attacker can send a specially crafted request to the application and execute arbitrary code on the system.

Note, the vulnerability is being actively exploited in the wild since February 2025.


Affected software

Yii

How to mitigate CVE-2024-58136

Install updates from vendor's website.

Yii - update to 2.0.52

External References

Related Security Bulletins