CVE-2024-4990

In yiisoft/yii2 version 2.0.48, the base Component class contains a vulnerability where the `__set()` magic method does not validate that the value passed is a valid Behavior class name or configuration. This allows an attacker to instantiate arbitrary classes, passing parameters to their constructors and invoking setter methods. Depending on the installed dependencies, various types of attacks are possible, including the execution of arbitrary code, retrieval of sensitive information, and unauthorized access.
Configurations

Configuration 1 (hide)

cpe:2.3:a:yiiframework:yii:2.0.48:*:*:*:*:*:*:*

History

01 Apr 2025, 20:34

Type Values Removed Values Added
References () https://huntr.com/bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8f - () https://huntr.com/bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8f - Exploit
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1
CPE cpe:2.3:a:yiiframework:yii:2.0.48:*:*:*:*:*:*:*
First Time Yiiframework
Yiiframework yii

20 Mar 2025, 14:15

Type Values Removed Values Added
CWE CWE-470

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-04-01 20:34


NVD link : CVE-2024-4990

Mitre link : CVE-2024-4990


JSON object : View

Products Affected

yiiframework

  • yii
CWE

No CWE.