CodeIgniter4のSQLインジェクション脆弱性、修正版4.7.6
Summary
CodeIgniter4の4.7.5以前に、特定のクエリの組み方でSQLインジェクションが起きる脆弱性が見つかり、4.7.6で修正されました。該当版を使う組織は4.7.6へ更新し、サブクエリやunionを使う箇所を洗い出してください。
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以前に、特定のクエリの組み方でSQLインジェクションが起きる脆弱性が見つかり、4.7.6で修正されました。該当版を使う組織は4.7.6へ更新し、サブクエリやunionを使う箇所を洗い出してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| codeigniter4CodeIgniter4 |
< 4.7.6→ 4.7.6 |
4.7.6 |
Original description The description as published by the source.
CodeIgniter4 before 4.7.6 contains an SQL injection vulnerability in Query::matchNamedBinds(), which substitutes named :name: bind placeholders across the entire SQL text, including values already escaped into string literals. Remote attackers who can inject a :name: placeholder into a subquery, union, escaped where()/having() string, deleteBatch() condition, or $db->query() fragment while controlling that bind's value can break out of the literal and execute arbitrary SQL.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com