This site currently shows sample data for demonstration.

Vulnerabilities

CVE-2024-4990 | BDVDB-2026-270761 Detail

yiisoftyiisoft/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.

Impact#

Per CVSS v3.0: confidentiality impact high, integrity impact high, availability impact high. Attack vector: network.

Weaknesses#

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

References#

Exploit#

No public exploit known

History#

  1. Version 1Record published in the CVE List.