MariaDB: Unauthorized file access via CONNECT engine UDFs
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the CONNECT engine plugin file-access UDFs json_file(), bson_file(), jfile_make(), bfile_make(), and jbin_file() are affected because each does not enforce FILE privilege or the secure_file_priv setting. A low-privileged attacker can trigger the issue by calling a CONNECT file-access UDF with a filesystem path, then invoke a CONNECT file-access UDF to access a filesystem path and read or write files that the database account is not authorized to access, subject to operating-system permissions. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- MariaDB server
From 10.6.1 · fixed in 10.6.28; From 10.11.1 · fixed in 10.11.19; From 11.4.1 · fixed in 11.4.13; From 11.8.1 · fixed in 11.8.9; From 12.3.1 · fixed in 12.3.3; From 13.0.1 · fixed in 13.0.2
- mariadbBitnami
From 10.6.1 · fixed in 10.6.28; From 10.11.0 · fixed in 10.11.19; From 11.4.0 · fixed in 11.4.13; From 11.8.0 · fixed in 11.8.9; From 12.3.0 · fixed in 12.3.3; From 13.0.0 · fixed in 13.0.2
- mariadb-minBitnami
From 10.6.1 · fixed in 10.6.28; From 10.11.0 · fixed in 10.11.19; From 11.4.0 · fixed in 11.4.13; From 11.8.0 · fixed in 11.8.9; From 12.3.0 · fixed in 12.3.3; From 13.0.0 · fixed in 13.0.2
- mysql-clientBitnami
From 10.6.1 · fixed in 10.6.28; From 10.11.0 · fixed in 10.11.19; From 11.4.0 · fixed in 11.4.13; From 11.8.0 · fixed in 11.8.9; From 12.3.0 · fixed in 12.3.3; From 13.0.0 · fixed in 13.0.2