Skip to content
SSRF Disclosed report Intermediate CVE-2022-0767

Server-Side Request Forgery in calibreweb

calibreweb before 0.6.17 has incomplete SSRF protection that can be bypassed using an HTTP redirect. An attacker could make the server request internal resources such as localhost.

janeczku/calibre-web

Originally disclosed on huntr

Critical View original

calibreweb prior to version 0.6.17 is vulnerable to server-side request forgery (SSRF). This is a result of incomplete SSRF protection that can be bypassed via an HTTP redirect. An HTTP server set up to respond with a 302 redirect may redirect a request to localhost.

From the GitHub Advisory Database (GHSA-h65g-jfqg-2w6m, 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

Impact

An attacker could use the server to access internal services on localhost, potentially leading to further compromise.

What the attacker needed

Ability to host an HTTP server; calibreweb version < 0.6.17

The fix

The vulnerability was fixed in version 0.6.17 by properly validating redirects in SSRF protection.

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.

Server-side request forgery (SSRF) is when an attacker tricks a server into making requests to places it shouldn't, like internal services. Here, the protection could be bypassed by setting up a server that redirects the request to localhost, allowing access to internal resources.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

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.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.