CVE-2024-53947CWE-89

Apache Superset: Improper SQL authorisation, parse not checking for specific postgres functions

Low · published December 9, 2024

CVSS v4.0
2.3
EPSS
1%
Percentile
57.3
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection flaw is lurking in Apache Superset, allowing attackers to bypass SQL authorization with certain PostgreSQL functions! Think of it like a restaurant where the chef doesn’t check the ingredients for every dish — trust is misplaced, and anyone could ask for a secret recipe and get it without the usual process. Similarly, this SQL injection lets unauthorized users execute commands without proper safeguards. While this vulnerability won't take down your system, it could allow a crafty attacker to access sensitive data or run unauthorized queries that normally require proper authentication. It’s like someone sneaking into the kitchen and changing the menu without permission — no disaster, but definitely not good!

Put simply

Think of it like a restaurant where the chef doesn’t check the ingredients for every dish — trust is misplaced, and anyone could ask for a secret recipe and get it without the usual process. Similarly, this SQL injection lets unauthorized users execute commands without proper safeguards. This vulnerability arises from Apache Superset not properly neutralizing certain engine-specific SQL functions, allowing attackers to exploit it and bypass the authorization that normally protects SQL commands.

What to do

While this vulnerability won't take down your system, it could allow a crafty attacker to access sensitive data or run unauthorized queries that normally require proper authentication. It’s like someone sneaking into the kitchen and changing the menu without permission — no disaster, but definitely not good! Upgrade to Apache Superset version 4.1.0 immediately to fix this issue. If you can't upgrade right now, add the affected PostgreSQL functions (query_to_xml_and_xmlschema, table_to_xml, table_to_xml_and_xmlschema) to the DISALLOWED_SQL_FUNCTIONS configuration to mitigate the risk. You've got this! With a simple upgrade or a config change, you'll keep your data secure and maintain hero status! 🛡️

The record
Technical detail
CVSS v4.0
2.3 · LOW
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
EPSS
0.00836 · 57.3th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2024-12-09T13:35Z
EPSS history
Timeline
  • 09 DEC 13:35Z
    Apache Superset: Improper SQL authorisation, parse not checking for specific postgres functions
    cvelistv5