通过请求可控的 condition field-layout 水合(hydration)实现已认证的 Yii 行为注入。任何拥有控制面板访问权限的账户均可触达存在漏洞的对象创建路径。
该 PoC 已在 Craft CMS 5.9.8 上以 www-data 身份确认。它需要 --execute 参数,并且不会将普通的 HTTP 200 响应误判为命令执行成功的证据。
python3 -m pip install -r requirements.txt
python3 poc.py https://target.example editor id --execute
仅限授权安全测试使用。