MySQL, MariaDB, Percona arbitrary configuration via general_log_file
Multiple products
At a glance
Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.27, and 10.1.x before 10.1.17; and Percona Server before 5.5.51-38.1, 5.6.x before 5.6.32-78.0, and 5.7.x before 5.7.14-7 allow local users to create arbitrary configurations and bypass certain protection mechanisms by setting general_log_file to a my.cnf configuration. NOTE: this can be leveraged to execute arbitrary code with root privileges by setting malloc_lib. NOTE: the affected MySQL version information is from Oracle's October 2016 CPU. Oracle has not commented on third-party claims that the issue was silently patched in MySQL 5.5.52, 5.6.33, and 5.7.15.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 67.73%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Red Hat | Red Hat Enterprise Linux 5 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Client (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Client Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Desktop (v. 6) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Desktop Optional (v. 6) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux HPC Node (v. 6) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux HPC Node Optional (v. 6) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6 | Affected versions:Source does not specify a version range |
1–10 of 72 · Page 1 of 8
CVSS scores and metrics6
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVE-2016-6662 · OSV (source-vector)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HRed Hat · Red Hat VEX (adp)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSUSE · SUSE VEX (adp)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)10.0 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:C/I:C/A:CRed Hat · Red Hat VEX (adp)7.1 / 10HighCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:H/Au:S/C:C/I:C/A:CCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories33
- CVE List / CNA
- NVD
- OSV
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- openwall.com
- securitytracker.com
- securityfocus.com
- oracle.com
- debian.org
- security.gentoo.org
- exploit-db.com
- jira.mariadb.org
- seclists.org
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- legalhackers.com
- percona.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- mariadb.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- mariadb.com
- mariadb.com
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences