(CVE-2024-6782) Calibre Remote Code Execution
An improper access control flaw in Calibre's Content Server allows unauthenticated remote attackers to execute arbitrary code. The report states that unprivileged adversaries may exploit this to perform remote code execution.
starlabs.sg
Published on starlabs.sg
Calibre is a cross-platform free and open-source suite of e-book software. Calibre supports organizing existing e-books into virtual libraries, displaying, editing, creating and converting e-books, as well as syncing e-books with a variety of e-readers.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an incorrect authorization check in the Content Server that fails to restrict access to a dangerous function.
What the attacker needed
Network access to the Content Server
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 write-up has not been written yet. The Original tab links to the source.
Calibre is a program for managing e-books, and its Content Server lets you share your library over the internet. A security mistake in how the server checks who is allowed to do what means an attacker who can reach the server can run their own commands on the computer, without needing an account.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.