Gravに遠隔からプログラムを実行される脆弱性、2.2.18で修正
Summary
Grav 2.0.0から2.2.18より前のバージョンには、Hostヘッダーを悪用して遠隔からシェルコマンドを実行される脆弱性があります。ページ編集権限を持つ利用者が、Twigのサンドボックスを抜けられる点が問題です。修正版の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 2.0.0から2.2.18より前のバージョンには、Hostヘッダーを悪用して遠隔からシェルコマンドを実行される脆弱性があります。ページ編集権限を持つ利用者が、Twigのサンドボックスを抜けられる点が問題です。修正版の2.2.18へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| getgravgrav |
≥ 2.0.0, < 2.2.18→ 2.2.18 |
2.2.18 |
Original description The description as published by the source.
Grav from 2.0.0 before 2.2.18 contains a remote code execution vulnerability that allows page editors to escape the Twig sandbox by sending requests with a Host: pages header. Attackers can write configuration YAML through page folders and media .meta.yaml sidecars to register an unsandboxed Twig namespace and run shell commands as the web server user.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- web github.com
- web nvd.nist.gov
- web github.com