YesWikiの脆弱性、CSVインポートでサーバー側から不正な通信を発生させられる
Summary
YesWiki 4.7.0より前のバージョンには、Bazar CSVインポート機能に、サーバー側リクエストフォージェリー(SSRF)の脆弱性が見つかっています。認証済みの管理者が、CSVファイルや画像の項目に細工したURLを指定すると、サーバーから任意の宛先へ通信させられ、取得した内容がfiles/ディレクトリに保存されます。影響を受けるのは4.7.0より前の版で、修正版の4.7.0への更新が対策になります。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
YesWiki 4.7.0より前のバージョンには、Bazar CSVインポート機能に、サーバー側リクエストフォージェリー(SSRF)の脆弱性が見つかっています。認証済みの管理者が、CSVファイルや画像の項目に細工したURLを指定すると、サーバーから任意の宛先へ通信させられ、取得した内容がfiles/ディレクトリに保存されます。影響を受けるのは4.7.0より前の版で、修正版の4.7.0への更新が対策になります。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| YesWiki | yeswiki |
< 4.7.0 |
4.7.0 |
Original description The description as published by the source.
YesWiki before 4.7.0 contains a server-side request forgery vulnerability in the Bazar CSV import copyUrlToLocalFile() function that allows authenticated administrators to make arbitrary outbound requests by supplying crafted URLs in CSV file or image fields. Attackers can bypass the extension check with a query-string suffix or redirects to fetch cloud metadata credentials, internal services, or local files via file://, with responses stored in the web-accessible files/ directory.
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