SB2020020507 - Privilege escalation in MariaDB
Published: February 5, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2020-7221)
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.
Remediation
Install update from vendor's website.