CVE-2024-34693
Published: 20 June 2024
Summary
CVE-2024-34693 is a medium-severity Improper Input Validation (CWE-20) vulnerability in Apache Superset. Its CVSS base score is 6.8 (Medium).
Operationally, ranked in the top 5.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
Apache Superset contains an improper input validation flaw that permits an authenticated user to instantiate a MariaDB database connection with the local_infile option enabled. The vulnerability affects all releases prior to 3.1.3 as well as version 4.0.0; the MariaDB server must have local infile support active (disabled by default) and the mysql client libraries on the Superset web server must likewise permit it.
An attacker holding a valid Superset account can therefore issue a crafted MySQL/MariaDB statement that reads arbitrary files from the underlying web server and writes their contents into a remote MariaDB table. The attack is conducted over the network, requires high privileges, and produces a confidentiality impact rated high under CVSS 3.1 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N).
Apache has published fixes in versions 3.1.3 and 4.0.1; users are advised to upgrade immediately. The associated EPSS score currently stands at 0.1262 with a recorded peak of 0.1278, indicating moderate but stable exploitation interest since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-2067
Vulnerability details
Improper Input Validation vulnerability in Apache Superset, allows for an authenticated attacker to create a MariaDB connection with local_infile enabled. If both the MariaDB server (off by default) and the local mysql client on the web server are set to…
more
allow for local infile, it's possible for the attacker to execute a specific MySQL/MariaDB SQL command that is able to read files from the server and insert their content on a MariaDB database table.This issue affects Apache Superset: before 3.1.3 and version 4.0.0 Users are recommended to upgrade to version 4.0.1 or 3.1.3, which fixes the issue.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Security testing and developer training directly verify and enforce proper input validation, reducing exploitability of injection and malformed-data weaknesses.
Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.
Directly implements checks on information inputs to reject invalid data before processing.
Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.