SB2020020507 - Privilege escalation in MariaDB
Published: February 5, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2020-7221)
CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
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.