Skip to content
Info disclosure Disclosed report Beginner CVE-2021-3986

Generation of Error Message Containing Sensitive Information in janeczku/calibre-web

An error message in calibre-web reveals the name of a private shelf when a user tries to remove a book from a shelf they do not own. An attacker could learn the names of other users' private shelves.

janeczku/calibre-web

Originally disclosed on huntr

A vulnerability in janeczku/calibre-web allows unauthorized users to view the names of private shelves belonging to other users. This issue occurs in the file shelf.py at line 221, where the name of the shelf is exposed in an error message when a user attempts to remove a book from a shelf they do not own. This vulnerability discloses private information and affects all versions prior to the fix.

From the GitHub Advisory Database (GHSA-m982-h4f8-g4hf, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the error message for a failed shelf removal includes the shelf name without checking whether the requester is allowed to see that shelf.

Impact

An attacker could view the names of private shelves belonging to other users, which is a limited information disclosure.

What the attacker needed

A calibre-web account; knowing or guessing a shelf identifier

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A shelf is a personal list of books in calibre-web. When someone tried to remove a book from a shelf that was not theirs, the website showed an error message that included the shelf's name. That let anyone learn the names of other people's private shelves.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from janeczku/calibre-web

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.