SQL Injection in Nocodb

CVE-2023-43794

Nocodb is an open source Airtable alternative. Affected versions of nocodb contain a SQL injection vulnerability, that allows an authenticated attacker with creator access to query the underlying database. By supplying a specially crafted payload to the given an attacker can inject arbitrary SQL queries to be executed. Since this is a blind SQL injection, an attacker may need to use time-based payloads which would include a function to delay execution for a given number of seconds. The response time indicates, whether the result of the query execution was true or false. Depending on the result, the HTTP response will be returned after a given number of seconds, indicating TRUE, or immediately, indicating FALSE. In that way, an attacker can reveal the data present in the database. This vulnerability has been addressed in version 0.111.0. Users are advised to upgrade. There are no known workarounds for this vulnerability. This issue is also tracked as `GHSL-2023-141`.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.

EPSS exploit prediction

EPSS 0.009, 59.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Nocodb — versions >= 0.109.2, < 0.111.0, 0.109.2

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (eslerm/nvd-api-client, tanjiti/sec_profile). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References