coleifer/sqlite-web · Security
Cross-Site Request Forgery in sqlite-web
- GHSA ID
- GHSA-2j58-pwwv-x666
- CVE ID
- CVE-2021-23404
- Severity
- high
- Published
- Updated
- CVSS
- 7.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L/E:F
- CVSS v3
- 7.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L/E:F
Description
This affects all versions of package sqlite-web. 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.
CWEs
- CWE-352 · Cross-Site Request Forgery (CSRF)
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23404 ↗
- https://snyk.io/vuln/SNYK-PYTHON-SQLITEWEB-1316324 ↗
- https://github.com/coleifer/sqlite-web/blob/2e7c85da3d37f80074ed3ae39b5851069b4f301c/sqlite_web/__main__.py ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/sqlite-web/PYSEC-2021-332.yaml ↗
- https://github.com/coleifer/sqlite-web/blob/4ba53979eb342c69fb3b7a75eeed43da7a3d3822/sqlite_web/sqlite_web.py#L1338 ↗
- https://github.com/advisories/GHSA-2j58-pwwv-x666 ↗