Paper/Archive/CVE-2024-4990

CVE-2024-4990

yiisoft yiisoft/yii2 — Unsafe Reflection in base Component class in yiisoft/yii2

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
yiisoft/yii2unspecified – latest–CNA

Scores by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
@huntr_ai (CNA)8.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

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