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

Simonw

·

Publicado

2023-08-22

·

Atualizado

2023-08-31

·

CVE-2023-40570

CVSS v3.1

5.3

Média

VetorAV: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

Correção

Information Disclosure

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

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

Produtos afetados

Apache
Datasette
Nginx
Datasette-Auth-Passwords
Datasette-Block