CVE-2024-4990 Unsafe Reflection in base Component class in yiisoft/yii2
기본 구성 요소 클래스의 안전하지 않은 반사 in yiisoft/yii2
설명
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.
yiisoft/yii2 버전 2.0.48에서 기본 Component 클래스는 전달된 값이 유효한 Behavior 클래스 이름 또는 구성인지 확인하지 못하는 `__set()` magic 메서드의 취약점을 포함합니다. 이를 통해 공격자는 임의의 클래스를 인스턴스화하고, 매개변수를 생성자에게 전달하고, setter 메서드를 호출할 수 있습니다. 설치된 의존성에 따라 임의 코드 실행, 민감한 정보 검색, 무단 액세스 등 다양한 유형의 공격이 가능합니다.
영향 받는 제품 제품 1개
-
yiisoft
yiisoft/yii2
영향 받는 버전
- 버전 정보 확인 필요
해결 버전
해결된 버전 정보가 없습니다.