PT-2024-20318 · Supabase · Supabase Postgresql

Zhongdongxu

·

Published

2024-02-08

·

Updated

2024-08-21

·

CVE-2024-24213

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Supabase PostgreSQL version 15.1
Description A SQL injection issue was discovered via the component /pg meta/default/query. However, the vendor's position is that this is an intended feature, existing in the Supabase dashboard product for authorized users to enter SQL queries in a designated UI, with no injection occurring.
Recommendations For Supabase PostgreSQL version 15.1, consider restricting access to the /pg meta/default/query component to authorized users only, as it is intended for use within a specific UI. Additionally, ensure that all SQL queries entered through this component are thoroughly validated and sanitized to prevent any potential issues. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

SQL injection

Weakness Enumeration

Related Identifiers

BIT-POSTGRESQL-2024-24213
CVE-2024-24213

Affected Products

Supabase Postgresql