Description
A vulnerability, which was classified as critical, was found in yiisoft Yii2 up to 2.0.39. This affects the function Generate of the file phpunit\src\Framework\MockObject\MockClass.php. The manipulation leads to deserialization. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| yiisoft | Yii2 | 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.0.18, 2.0.19, 2.0.20, 2.0.21, 2.0.22, 2.0.23, 2.0.24, 2.0.25, 2.0.26, 2.0.27, 2.0.28, 2.0.29, 2.0.30, 2.0.31, 2.0.32, 2.0.33, 2.0.34, 2.0.35, 2.0.36, 2.0.37, 2.0.3… | — |
References
- VDB-300711 | yiisoft Yii2 MockClass.php generate deserialization vdb-entry technical-description
- VDB-300711 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #521718 | Yii Software LLC Yii 2.0 <=2.0.39 Deserialization third-party-advisory
- https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.md exploit