CVE-2023-50718 NocoDB SQL Injection vulnerability
An authenticated attacker with create access can exploit SQL injection in NocoDB to leak sensitive database information.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-50718?
CVE-2023-50718 is a medium-severity SQL injection vulnerability in nocodb, published on 13 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
NocoDB is software for building databases as spreadsheets. Prior to version 0.202.10, an authenticated attacker with create access could conduct a SQL Injection attack on MySQL DB using unescaped `table_name`. This vulnerability may result in leakage of sensitive data in the database. Version 0.202.10 contains a patch for the issue.
Weakness: CWE-89
Which versions are affected by CVE-2023-50718?
2 open source packages ship an affected version, including nocodb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nocodb npm | All versions | 0.202.10 |
nocodb npm | All versions | 0.202.10 |
Products include Nocodb Nocodb.
How do I fix CVE-2023-50718?
Upgrade nocodb to 0.202.10 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2023-50718 being exploited?
There is no known exploitation of CVE-2023-50718 in the wild and no public exploit code.
Other vulnerabilities in nocodb
- CVE-2022-2339 Server-Side Request Forgery (SSRF) in nocodb/nocodb
- CVE-2022-2062 Generation of Error Message Containing Sensitive Information in nocodb/nocodb
- CVE-2022-2064 Insufficient Session Expiration in nocodb/nocodb
- CVE-2022-2063 Improper Privilege Management in nocodb/nocodb
- CVE-2022-2022 Cross-site Scripting (XSS) - Stored in nocodb/nocodb
Sources
Also known as GHSA-8fxg-mr34-jqr8.