CVE coverage
View on NVD →
CVE-2016-6662
CVSS 9.8
5 detections found
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.
Detection rules
| Source | Rule | Status | Updated |
|---|---|---|---|
| elastic | MySQL User-Defined Function Injection | production | 2026-09-18 |
| suricata | ET EXPLOIT Possible MySQL cnf overwrite CVE-2016-6662 Attempt | rev 2 | 2019-10-08 |
| suricata | ET EXPLOIT Possible MySQL CVE-2016-6662 Attempt | rev 1 | 2019-07-26 |
| snort | ET EXPLOIT Possible MySQL CVE-2016-6662 Attempt | rev 1 | 2016-09-13 |
| snort | ET EXPLOIT Possible MySQL cnf overwrite CVE-2016-6662 Attempt | rev 1 | 2016-09-13 |