Grav Form Pluginに脆弱性、アップロードしたファイルでスクリプトを実行される
Summary
Grav Form Pluginの1.1.0から9.1.40より前の版には、アップロードされたファイルに保存型のクロスサイトスクリプティング(XSS)の脆弱性があります。SVG以外の拡張子を付けたファイルに埋め込まれたスクリプトが、管理者が開いた際に実行される可能性があり、Grav 2.xとAdmin2の環境では管理者権限の作成につながるおそれがあります。修正版の9.1.40に更新してください。
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 Form Pluginの1.1.0から9.1.40より前の版には、アップロードされたファイルに保存型のクロスサイトスクリプティング(XSS)の脆弱性があります。SVG以外の拡張子を付けたファイルに埋め込まれたスクリプトが、管理者が開いた際に実行される可能性があり、Grav 2.xとAdmin2の環境では管理者権限の作成につながるおそれがあります。修正版の9.1.40に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| getgravgrav-plugin-form |
≥ 1.1.0, < 9.1.40→ 9.1.40 |
9.1.40 |
Original description The description as published by the source.
Grav Form plugin 1.1.0 before 9.1.40 contains a stored cross-site scripting vulnerability in Form::uploadFiles(), which sanitizes SVG only when a file's last extension is .svg and accepts markup under unrecognized extensions. Anonymous attackers can upload files like drawing.svg.foo through public any-type upload forms, running script in an administrator's session when opened, enabling super-admin creation on Grav 2.x with Admin2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web nvd.nist.gov
- web github.com