Description
Calibre-Web through 0.6.27 contains an authorization bypass vulnerability in add_to_shelf that allows authenticated users with edit shelves permission to add restricted books to their shelves. Attackers can enumerate hidden book ids via differing endpoint responses and read hidden titles from the image title attribute on the shelf ordering page.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| janeczku | Calibre-Web | 0 ≤0.6.27 | — |
References
- https://github.com/janeczku/calibre-web/blob/0.6.27/cps/shelf.py#L74-L80
- https://github.com/janeczku/calibre-web/blob/0.6.27/cps/templates/shelf_order.html#L12-L16
- https://github.com/janeczku/calibre-web/commit/e3f6c501f3d7e41bc3042771b90ba5b1dcd09198
- https://www.vulncheck.com/advisories/calibre-web-through-0.6.27-book-restriction-bypass-via-shelf-add-endpoint