SQL Injection Affecting nocodb package, versions <0.111.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NOCODB-6003646
  • published22 Oct 2023
  • disclosed17 Oct 2023
  • creditSylwia Budzynska

Introduced: 17 Oct 2023

CVE-2023-43794  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade nocodb to version 0.111.0 or higher.

Overview

nocodb is a NocoDB

Affected versions of this package are vulnerable to SQL Injection via the triggerList function in SqliteClient.ts. An attacker can inject arbitrary SQL queries to be executed by supplying a specially crafted payload to the table_name parameter in the tableCreate endpoint. The attacker can reveal the data present in the database by using 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.

Note:

This is only exploitable if the attacker has creator permissions.

CVSS Scores

version 3.1