We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-4990

Unsafe Reflection in base Component class in yiisoft/yii2



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.

Reserved 2024-05-16 | Published 2025-03-20 | Updated 2025-03-20 | Assigner @huntr_ai


HIGH: 8.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-470 Use of Externally-Controlled Input to Select Classes or Code

Product status

Any version
affected

References

huntr.com/bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8f

cve.org (CVE-2024-4990)

nvd.nist.gov (CVE-2024-4990)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2024-4990

Support options

Helpdesk Chat, Email, Knowledgebase