Craft CMSで未認証のSQLインジェクションの脆弱性、データベースの内容が読まれるおそれ
Summary
Craft CMSのGraphQLで、認証なしの攻撃者が細工した引数を使ってSQLを注入し、パスワードのハッシュやセッショントークンを含むデータベースの内容を読み取れる脆弱性です。影響を受けるのは5.0.0から5.11.2未満の5系と、4.18.9未満の4系です。修正版は5系で5.11.2が公開されているので、速やかに更新してください。4系の修正版については、最新の情報を確認してください。
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.
Craft CMSのGraphQLで、認証なしの攻撃者が細工した引数を使ってSQLを注入し、パスワードのハッシュやセッショントークンを含むデータベースの内容を読み取れる脆弱性です。影響を受けるのは5.0.0から5.11.2未満の5系と、4.18.9未満の4系です。修正版は5系で5.11.2が公開されているので、速やかに更新してください。4系の修正版については、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| craftcmscms |
≥ 5.0.0, < 5.11.2→ 5.11.2 |
5.11.2 |
Original description The description as published by the source.
Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains an SQL injection vulnerability in GraphQL eager-loading: arguments on eager-loadable nodes absent from the public schema are copied into EagerLoadPlan criteria without cleansing. Unauthenticated attackers can supply a parenthesized select argument to inject SQL expressions and read arbitrary database content, including password hashes and session tokens.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com