Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Yiiframework | Yii | 2.0.48 |
Related Weaknesses (CWE)
References
- https://huntr.com/bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8fExploit
- https://huntr.com/bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8fExploit
FAQ
What is CVE-2024-4990?
CVE-2024-4990 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 configurati...
How severe is CVE-2024-4990?
CVE-2024-4990 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-4990?
Check the references section above for vendor advisories and patch information. Affected products include: Yiiframework Yii.