Link following in mariadb (Alpine package)



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2016-6664
CWE-ID CWE-59
Exploitation vector Local
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
mariadb (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Link following

EUVDB-ID: #VU32164

Risk: Low

CVSSv4.0: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Clear]

CVE-ID: CVE-2016-6664

CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')

Exploit availability: No

Description

The vulnerability allows a local authenticated user to execute arbitrary code.

mysqld_safe in Oracle MySQL through 5.5.51, 5.6.x through 5.6.32, and 5.7.x through 5.7.14; MariaDB; Percona Server before 5.5.51-38.2, 5.6.x before 5.6.32-78-1, and 5.7.x before 5.7.14-8; and Percona XtraDB Cluster before 5.5.41-37.0, 5.6.x before 5.6.32-25.17, and 5.7.x before 5.7.14-26.17, when using file-based logging, allows local users with access to the mysql account to gain root privileges via a symlink attack on error logs and possibly other files.

Mitigation

Install update from vendor's website.

Vulnerable software versions

mariadb (Alpine package): 5.5.47-r0 - 10.1.20-r0

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=a907a102e9dea884f13defde2d37b21d2fc01a0c
https://git.alpinelinux.org/aports/commit/?id=f75a55d7e8bfb8de318319e51b46c9040507bb33
https://git.alpinelinux.org/aports/commit/?id=7ea78917255c8fac1237c165434f38820f0f34db


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###