PT-2023-27515 · Unknown+3 · Datasette-Block+4

·

CVE-2023-40570

·

Published

2023-08-22

·

Updated

2023-08-31

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Datasette versions 1.0a0 through 1.0a3
Description The issue affects Datasette instances running in an online accessible location with authentication enabled using a plugin such as datasette-auth-passwords. The /-/api API endpoint could reveal the names of both databases and tables, but not their contents, to an unauthenticated user. Datasette 1.0a4 has a fix for this issue, which blocks access to the API explorer but still allows access to the Datasette read or write JSON APIs.
Recommendations For versions 1.0a0 through 1.0a3, update to version 1.0a4 to resolve the issue. As a temporary workaround for versions 1.0a0 through 1.0a3, block all traffic to the /-/api endpoint, which can be done with a proxy such as Apache or NGINX, or by installing the datasette-block plugin and adding the necessary configuration to your metadata.json or metadata.yml file.

Exploit

Fix

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-40570
GHSA-7CH3-7PP7-7CPQ
PYSEC-2023-154

Affected Products

Apache
Datasette
Nginx
Datasette-Auth-Passwords
Datasette-Block