Grav 2.2.18より前に遠隔からコードを実行される脆弱性
Summary
Grav 2.0.0から2.2.18より前の版には、Markdownの画像URLを使ってメディアのアクション許可リストを回避され、Webサーバーの権限でシェルコマンドを実行されるおそれのある脆弱性があります。影響を受けるのは2.0.0以上2.2.18未満で、修正版は2.2.18です。Gravを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より前の版には、Markdownの画像URLを使ってメディアのアクション許可リストを回避され、Webサーバーの権限でシェルコマンドを実行されるおそれのある脆弱性があります。影響を受けるのは2.0.0以上2.2.18未満で、修正版は2.2.18です。Gravを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 publishers to bypass the media action allowlist using scoped method names in Markdown image URLs. Attackers can chain actions like self::addMetaFile into static calls such as Process::fromShellCommandline to read files 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