http4kに認証なしで任意のファイルを読まれる脆弱性
Summary
http4kのThymeleafTemplates(キャッシュおよびホットリロード機能)に、パストラバーサルの脆弱性が見つかりました。6.62.0.0-eeより前の版が影響を受け、認証なしの攻撃者がテンプレート名に「../」を含めることで、サーバープロセスが読める任意のファイルを閲覧できるおそれがあります。修正版の6.62.0.0-eeに更新してください。
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.
http4kのThymeleafTemplates(キャッシュおよびホットリロード機能)に、パストラバーサルの脆弱性が見つかりました。6.62.0.0-eeより前の版が影響を受け、認証なしの攻撃者がテンプレート名に「../」を含めることで、サーバープロセスが読める任意のファイルを閲覧できるおそれがあります。修正版の6.62.0.0-eeに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| http4khttp4k |
< 6.62.0.0-ee→ 6.62.0.0-ee |
6.62.0.0-ee |
Original description The description as published by the source.
http4k before 6.62.0.0-ee contains a path traversal vulnerability in ThymeleafTemplates Caching and HotReload that allows unauthenticated attackers to read files outside baseTemplateDir by supplying ../ segments in ViewModel.template() values. Attackers can influence request-driven template selection so Thymeleaf's FileTemplateResolver resolves escaped paths without containment checks, disclosing any file readable by the server process.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com