Permissions, Privileges, and Access Controls in MariaDB - CVE-2020-7221
Published: February 5, 2020
MariaDB
Detailed vulnerability description
The vulnerability allows a remote user to escalate privileges on the system.
The vulnerability exists in the "mysql_install_db" script due to "chown" and "chmod" are performed unsafely, as demonstrated by a symlink attack on a chmod 04755 of auth_pam_tool_dir/auth_pam_tool. A remote user can gain root privileges on the target system.
Note: This vulnerability does not affect the Oracle MySQL product, which implements mysql_install_db differently.