Description
Calibre-Web through 0.6.27 contains an authorization bypass vulnerability that allows authenticated users to obtain restricted books because send_to_ereader loads books via calibre_db.get_book() without per-user visibility filters. Attackers with download permission and a configured eReader email can request hidden books by sequential numeric id to have the files emailed to an address they control.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| janeczku | Calibre-Web | ≤ 0.6.27 | — |
References
- https://github.com/janeczku/calibre-web/blob/0.6.27/cps/web.py#L1261-L1277 technical-description
- https://github.com/janeczku/calibre-web/commit/e3f6c501f3d7e41bc3042771b90ba5b1dcd09198 patch
- VulnCheck Advisory: Calibre-Web through 0.6.27 Book Restriction Bypass via Send to eReader third-party-advisory