Apache Superset server arbitrary file read
Moderate severity
GitHub Reviewed
Published
Jun 20, 2024
to the GitHub Advisory Database
•
Updated Aug 8, 2024
Package
Affected versions
< 3.1.3
>= 4.0.0, < 4.0.1
Patched versions
3.1.3
4.0.1
Description
Published by the National Vulnerability Database
Jun 20, 2024
Published to the GitHub Advisory Database
Jun 20, 2024
Reviewed
Jun 20, 2024
Last updated
Aug 8, 2024
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 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 version 3.1.3 and in version 4.0.0.
Users are recommended to upgrade to version 4.0.1 or 3.1.3, both of which fix the issue.
References