Craft CMSで制御パネル利用者により遠隔からコードを実行される恐れ
概要
制御パネルに管理者以外でアクセスできる利用者が、偽のAPI応答ヘッダーとCRLF注入を使って暗号鍵を書き換え、サーバー上でコードを実行できる脆弱性です。影響を受けるのはCraft CMS 5.0.0以降5.11.2未満および4.0.0以降4.18.9未満です。5.11.2または4.18.9以降へ更新してください。
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
制御パネルに管理者以外でアクセスできる利用者が、偽のAPI応答ヘッダーとCRLF注入を使って暗号鍵を書き換え、サーバー上でコードを実行できる脆弱性です。影響を受けるのはCraft CMS 5.0.0以降5.11.2未満および4.0.0以降4.18.9未満です。5.11.2または4.18.9以降へ更新してください。
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| craftcms | cms |
5.0.0 以上 5.11.2 未満 4.0.0 以上 4.18.9 未満 |
5.11.2 4.18.9 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
The app/process-api-response-headers action accepts fake Craft API response headers from any authenticated control panel user.
A non-admin user with only accessCp can place newline characters in X-Craft-Plugin-Licenses. Craft passes this value to its .env writer without removing the newlines.
This lets the user insert a new attacker-known CRAFT_SECURITY_KEY into .env. After Craft loads that key, the user can forge a signed login redirect containing a Twig system() callback.
This is different from the previous report. That report reads the existing key through a Twig sandbox bypass. This report replaces the key through fake API headers and CRLF injection. Fixing either source does not fix the other.
出典: CVE.org (CVE Program・cvelistV5) NVD
参照URL
- web hckrt.com
- web github.com
- web github.com
- web github.com