漏洞描述
Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class array key, a CVE-2024-4990 regression, as exploited in the wild in February through April 2025.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
sensepost.comhttps://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/↗github.comhttps://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709↗www.yiiframework.comhttps://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52↗github.comhttps://github.com/yiisoft/yii2/pull/20232↗github.comhttps://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12↗github.comhttps://github.com/yiisoft/yii2/compare/2.0.51...2.0.52↗