Description
Koodo Reader through 2.4.6 contains a path traversal vulnerability in the self-hosted HTTP server's OPDS handlers that allows authenticated attackers to read files outside the upload directory. Attackers can upload a crafted books.db with a cover value containing ../ sequences, then request /opds/cover/{key} to read files accessible to the server process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| koodo-reader | koodo-reader | ≤ 2.4.6 | — |
References
- GitHub Issue #1654 issue-tracking
- https://github.com/koodo-reader/koodo-reader product
- Fix commit patch
- https://github.com/koodo-reader/koodo-reader/blob/v2.4.6/httpserver/opds.go#L167-L194 technical-description
- https://github.com/koodo-reader/koodo-reader/blob/v2.4.6/httpserver/opds.go#L384-L431 technical-description
- https://github.com/koodo-reader/koodo-reader/compare/205539043b0a2afd9fd8bf99ef8434bd1833c2bf...cbc79a1ab5cbbd61c8252d6ab3cc6dbb694663b8 technical-description
- VulnCheck Advisory: Koodo Reader through 2.4.6 Path Traversal via OPDS Cover and Download Handlers third-party-advisory