PT-2024-4329 · Apache · Apache Superset
Mal
+1
·
Published
2024-06-20
·
Updated
2025-02-05
·
CVE-2024-34693
CVSS v3.1
6.8
Medium
| Vector | AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Apache Superset versions prior to 3.1.3
Apache Superset version 4.0.0
Description
The issue is related to improper input validation in Apache Superset, allowing an authenticated attacker to create a MariaDB connection with local infile enabled. If both the MariaDB server and the local mysql client on the web server are set to allow for local infile, it's possible for the attacker to execute a specific MySQL/MariaDB SQL command that can read files from the server and insert their content into a MariaDB database table.
Recommendations
For Apache Superset versions prior to 3.1.3, upgrade to version 3.1.3 to fix the issue.
For Apache Superset version 4.0.0, upgrade to version 4.0.1 to fix the issue.
As a temporary workaround, consider disabling the local infile option in the MariaDB connection to minimize the risk of exploitation.
Restrict access to the MariaDB database table to prevent unauthorized data insertion.
Avoid using the local mysql client on the web server to connect to the MariaDB server until the issue is resolved.
Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Superset