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.
                
            References
                    Configurations
                    History
                    01 Apr 2025, 20:34
| Type | Values Removed | Values Added | 
|---|---|---|
| Summary | 
 | |
| CPE | cpe:2.3:a:yiiframework:yii:2.0.48:*:*:*:*:*:*:* | |
| References | () https://huntr.com/bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8f - Exploit | |
| First Time | Yiiframework yii Yiiframework | |
| CVSS | v2 : v3 : | v2 : unknown v3 : 9.1 | 
20 Mar 2025, 14:15
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://huntr.com/bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8f - | 
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
CVE.ORG link : CVE-2024-4990
JSON object : View
Products Affected
                yiiframework
- yii
CWE
                
                    
                        
                        CWE-470
                        
            Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
