Grav 共有キャッシュ経由でセッションを乗っ取られる脆弱性
Summary
Grav 1.7.53.7より前と2.2.18より前の2系統で、ページのメディアファイルへの応答にセッションCookieが含まれ、共有キャッシュで保存される場合があります。攻撃者が利用者をメディアのURLへ誘導してキャッシュされたCookieを取得すると、そのセッションを乗っ取られるおそれがあります。修正版として1.7.53.7が公開されています。Grav 2系を使っている場合は、2.2.18以降への更新を確認してください。
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.
Grav 1.7.53.7より前と2.2.18より前の2系統で、ページのメディアファイルへの応答にセッションCookieが含まれ、共有キャッシュで保存される場合があります。攻撃者が利用者をメディアのURLへ誘導してキャッシュされたCookieを取得すると、そのセッションを乗っ取られるおそれがあります。修正版として1.7.53.7が公開されています。Grav 2系を使っている場合は、2.2.18以降への更新を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| getgravgrav |
< 1.7.53.7→ 1.7.53.7 |
1.7.53.7 |
Original description The description as published by the source.
Grav before 1.7.53.7 and 2.x before 2.2.18 serves page media files, and rendered pages when lazy sessions are enabled, with the visitor's session cookie and a shared-cacheable Cache-Control header. When a shared cache such as Apache mod_cache stores Set-Cookie responses, an attacker can lure a user signed in through the front-end login to open a media URL with a unique query string, then request that URL to receive the cached session cookie and take over the session.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- web github.com
- web nvd.nist.gov
- web github.com