Description
MyBibliotheca 3.0.0 before 3.0.4 contains an insecure direct object reference vulnerability that allows authenticated users to modify or delete other users' books via /api/v1/books/<book_id>. Attackers can obtain book UUIDs from recently added books across all owners, then send PUT or DELETE requests to rename, alter, or permanently delete them.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| pickles4evaaaa | MyBibliotheca | 3.0.0 – < 3.0.4 | 3.0.4 |
References
- https://github.com/pickles4evaaaa/mybibliotheca/issues/264 issue-tracking
- https://github.com/pickles4evaaaa/mybibliotheca/commit/7c3282132dce8733c3ab16008188929abe36d87c patch
- https://github.com/pickles4evaaaa/mybibliotheca/blob/v3.0.3/app/services/postgres_service_facade.py#L172-L173 technical-description
- MyBibliotheca v3.0.4 Release Notes release-notes
- VulnCheck Advisory: MyBibliotheca 3.0.0 before 3.0.4 IDOR via Books API Update and Delete third-party-advisory