{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2016-09-12T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2018-01-04T19:57:01",
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/"
                },
                {
                    "name": "RHSA-2016:2749",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2749.html"
                },
                {
                    "name": "RHSA-2017:0184",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2017-0184.html"
                },
                {
                    "name": "RHSA-2016:2131",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2131.html"
                },
                {
                    "name": "RHSA-2016:2060",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2060.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://jira.mariadb.org/browse/MDEV-10465"
                },
                {
                    "name": "92912",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_BID"
                    ],
                    "url": "http://www.securityfocus.com/bid/92912"
                },
                {
                    "name": "20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )",
                    "tags": [
                        "mailing-list",
                        "x_refsource_FULLDISC"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2016/Sep/23"
                },
                {
                    "name": "GLSA-201701-01",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_GENTOO"
                    ],
                    "url": "https://security.gentoo.org/glsa/201701-01"
                },
                {
                    "name": "DSA-3666",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_DEBIAN"
                    ],
                    "url": "http://www.debian.org/security/2016/dsa-3666"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html"
                },
                {
                    "name": "RHSA-2016:2130",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2130.html"
                },
                {
                    "name": "RHSA-2016:2077",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2077.html"
                },
                {
                    "name": "RHSA-2016:2927",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2927.html"
                },
                {
                    "name": "RHSA-2016:2059",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2059.html"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/"
                },
                {
                    "name": "RHSA-2016:2062",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2062.html"
                },
                {
                    "name": "RHSA-2016:2595",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2595.html"
                },
                {
                    "name": "1036769",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_SECTRACK"
                    ],
                    "url": "http://www.securitytracker.com/id/1036769"
                },
                {
                    "name": "RHSA-2016:2061",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2061.html"
                },
                {
                    "name": "[oss-security] 20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2016/09/12/3"
                },
                {
                    "name": "40360",
                    "tags": [
                        "exploit",
                        "x_refsource_EXPLOIT-DB"
                    ],
                    "url": "https://www.exploit-db.com/exploits/40360/"
                },
                {
                    "name": "RHSA-2016:2928",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2928.html"
                },
                {
                    "name": "RHSA-2016:2058",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2016-2058.html"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "cve@mitre.org",
                    "ID": "CVE-2016-6662",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "n/a",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "n/a"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "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."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "n/a"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/",
                            "refsource": "CONFIRM",
                            "url": "https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/"
                        },
                        {
                            "name": "RHSA-2016:2749",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2749.html"
                        },
                        {
                            "name": "RHSA-2017:0184",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2017-0184.html"
                        },
                        {
                            "name": "RHSA-2016:2131",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2131.html"
                        },
                        {
                            "name": "RHSA-2016:2060",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2060.html"
                        },
                        {
                            "name": "https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/",
                            "refsource": "CONFIRM",
                            "url": "https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/"
                        },
                        {
                            "name": "https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/",
                            "refsource": "CONFIRM",
                            "url": "https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/"
                        },
                        {
                            "name": "https://jira.mariadb.org/browse/MDEV-10465",
                            "refsource": "CONFIRM",
                            "url": "https://jira.mariadb.org/browse/MDEV-10465"
                        },
                        {
                            "name": "92912",
                            "refsource": "BID",
                            "url": "http://www.securityfocus.com/bid/92912"
                        },
                        {
                            "name": "20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )",
                            "refsource": "FULLDISC",
                            "url": "http://seclists.org/fulldisclosure/2016/Sep/23"
                        },
                        {
                            "name": "GLSA-201701-01",
                            "refsource": "GENTOO",
                            "url": "https://security.gentoo.org/glsa/201701-01"
                        },
                        {
                            "name": "DSA-3666",
                            "refsource": "DEBIAN",
                            "url": "http://www.debian.org/security/2016/dsa-3666"
                        },
                        {
                            "name": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html",
                            "refsource": "CONFIRM",
                            "url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html"
                        },
                        {
                            "name": "RHSA-2016:2130",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2130.html"
                        },
                        {
                            "name": "RHSA-2016:2077",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2077.html"
                        },
                        {
                            "name": "RHSA-2016:2927",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2927.html"
                        },
                        {
                            "name": "RHSA-2016:2059",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2059.html"
                        },
                        {
                            "name": "http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html",
                            "refsource": "MISC",
                            "url": "http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html"
                        },
                        {
                            "name": "https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/",
                            "refsource": "CONFIRM",
                            "url": "https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/"
                        },
                        {
                            "name": "RHSA-2016:2062",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2062.html"
                        },
                        {
                            "name": "RHSA-2016:2595",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2595.html"
                        },
                        {
                            "name": "1036769",
                            "refsource": "SECTRACK",
                            "url": "http://www.securitytracker.com/id/1036769"
                        },
                        {
                            "name": "RHSA-2016:2061",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2061.html"
                        },
                        {
                            "name": "[oss-security] 20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )",
                            "refsource": "MLIST",
                            "url": "http://www.openwall.com/lists/oss-security/2016/09/12/3"
                        },
                        {
                            "name": "40360",
                            "refsource": "EXPLOIT-DB",
                            "url": "https://www.exploit-db.com/exploits/40360/"
                        },
                        {
                            "name": "RHSA-2016:2928",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2928.html"
                        },
                        {
                            "name": "RHSA-2016:2058",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2016-2058.html"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-06T01:36:29.525Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/"
                    },
                    {
                        "name": "RHSA-2016:2749",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2749.html"
                    },
                    {
                        "name": "RHSA-2017:0184",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2017-0184.html"
                    },
                    {
                        "name": "RHSA-2016:2131",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2131.html"
                    },
                    {
                        "name": "RHSA-2016:2060",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2060.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://jira.mariadb.org/browse/MDEV-10465"
                    },
                    {
                        "name": "92912",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_BID",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/bid/92912"
                    },
                    {
                        "name": "20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )",
                        "tags": [
                            "mailing-list",
                            "x_refsource_FULLDISC",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2016/Sep/23"
                    },
                    {
                        "name": "GLSA-201701-01",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_GENTOO",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/201701-01"
                    },
                    {
                        "name": "DSA-3666",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_DEBIAN",
                            "x_transferred"
                        ],
                        "url": "http://www.debian.org/security/2016/dsa-3666"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html"
                    },
                    {
                        "name": "RHSA-2016:2130",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2130.html"
                    },
                    {
                        "name": "RHSA-2016:2077",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2077.html"
                    },
                    {
                        "name": "RHSA-2016:2927",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2927.html"
                    },
                    {
                        "name": "RHSA-2016:2059",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2059.html"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/"
                    },
                    {
                        "name": "RHSA-2016:2062",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2062.html"
                    },
                    {
                        "name": "RHSA-2016:2595",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2595.html"
                    },
                    {
                        "name": "1036769",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_SECTRACK",
                            "x_transferred"
                        ],
                        "url": "http://www.securitytracker.com/id/1036769"
                    },
                    {
                        "name": "RHSA-2016:2061",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2061.html"
                    },
                    {
                        "name": "[oss-security] 20160912 CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2016/09/12/3"
                    },
                    {
                        "name": "40360",
                        "tags": [
                            "exploit",
                            "x_refsource_EXPLOIT-DB",
                            "x_transferred"
                        ],
                        "url": "https://www.exploit-db.com/exploits/40360/"
                    },
                    {
                        "name": "RHSA-2016:2928",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2928.html"
                    },
                    {
                        "name": "RHSA-2016:2058",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2016-2058.html"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2016-6662",
        "datePublished": "2016-09-20T18:00:00",
        "dateReserved": "2016-08-10T00:00:00",
        "dateUpdated": "2024-08-06T01:36:29.525Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}