CodeIgniter4にコードを注入される脆弱性、4.7.5で修正
Summary
CodeIgniter4の4.7.5より前のバージョンには、ビューのデータキーが内部変数と同じスコープで展開されることで、任意のPHPコードが実行され、意図しないローカルファイルが読み込まれるおそれのある脆弱性があります。修正版の4.7.5が公開されているため、CodeIgniter4を4.7.5以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
CodeIgniter4の4.7.5より前のバージョンには、ビューのデータキーが内部変数と同じスコープで展開されることで、任意のPHPコードが実行され、意図しないローカルファイルが読み込まれるおそれのある脆弱性があります。修正版の4.7.5が公開されているため、CodeIgniter4を4.7.5以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| codeigniter4CodeIgniter4 |
< 4.7.5→ 4.7.5 |
4.7.5 |
Original description The description as published by the source.
CodeIgniter4 before 4.7.5 contains a code injection vulnerability because view data is extracted into the same scope as internal variables, letting colliding keys replace the trusted template source or an included view path. Attackers who control view data keys can supply template, view, or foundView keys to Parser::render(), Parser::renderString(), View::renderString(), or view cells to execute PHP code or include unintended local files.
Source: CVE.org (CVE Program・cvelistV5) NVD