Unauthenticated reading list item deletion in kareadita/kavita
Reported on
Aug 7th 2022
Description
A unauthenticated user can delete any book item of any user reading list in the system without any authentication or authorization verification, via the /api/readinglist/delete-item
API endpoint.
Proof of Concept
1 - Send the following request, where x
is the target readingListId and y
is the number item in that list:
POST http://localhost:5000/api/readinglist/delete-item HTTP/1.1
Content-Type: application/json
{"readingListId":<x>,"readingListItemId":<y>}
Impact
An unauthenticated attacker can delete all book items from all user personal reading lists.
Occurrences
SECURITY.md
exists
a year ago
This is a valid bug, more annoying than allowing any privilege escalation.