audiobookshelf's authentication-exemption check (server/routers/Auth.js) matches unauthenticated...
概要
audiobookshelf's authentication-exemption check (server/routers/Auth.js) matches unauthenticated...
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
audiobookshelf's authentication-exemption check (server/routers/Auth.js) matches unauthenticated-allowed GET routes against req.path via a regex requiring a literal /items/:id/cover or /authors/:id/image shape, where req.path retains %2F sequences URL-encoded. Express's router decodes the :id route parameter before handler code runs, so a %2F-encoded '../' sequence in :id (e.g. ..%2f..%2f..%2ftmp%2fpwned) passes the literal-path auth-exemption check while resolving to a real path-traversal payload once decoded. CacheManager.handleCoverCache then joins this decoded value into a cache file path and streams the result before any database-backed ownership check. This bypasses the fix applied for CVE-2025-25205 (which anchored the exemption regex and switched it to req.path) and results in unauthenticated arbitrary file read of any file matching the pattern *_[x]. that the service account can read.
出典: NIST National Vulnerability Database NVD GitHub Advisory
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Audiobookshelfの認証除外チェックにディレクトリトラバーサル脆弱性があります。攻撃者は特定のエンドポイントにパスを巧妙に形成することで、サービスがアクセス権を持つ任意のファイルを読み取ることが可能です。
Audiobookshelfの認証除外チェックにおけるディレクトリトラバーサル脆弱性です。
server/routers/Auth.js
攻撃者が任意のファイルを読むことが可能です。
audiobookshelfの認証チェックを強化し、%2Fのデコードを防ぐ。
認証チェックを手動で精査し、%2Fパターンを持つ入力を厳密に無視する。
ログファイルを確認し、未承認アクセスがないか監査する。
参照URL
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com