{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2016-12-27T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2018-10-09T18:57:01",
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html"
                },
                {
                    "name": "42221",
                    "tags": [
                        "exploit",
                        "x_refsource_EXPLOIT-DB"
                    ],
                    "url": "https://www.exploit-db.com/exploits/42221/"
                },
                {
                    "name": "40969",
                    "tags": [
                        "exploit",
                        "x_refsource_EXPLOIT-DB"
                    ],
                    "url": "https://www.exploit-db.com/exploits/40969/"
                },
                {
                    "name": "20161228 PHPMailer < 5.2.20 Remote Code Execution PoC 0day Exploit (CVE-2016-10045) (Bypass of the CVE-2016-1033 patch)",
                    "tags": [
                        "mailing-list",
                        "x_refsource_BUGTRAQ"
                    ],
                    "url": "http://www.securityfocus.com/archive/1/539967/100/0/threaded"
                },
                {
                    "name": "[oss-security] 20161228 Re: PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033]",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://openwall.com/lists/oss-security/2016/12/28/1"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20"
                },
                {
                    "name": "40986",
                    "tags": [
                        "exploit",
                        "x_refsource_EXPLOIT-DB"
                    ],
                    "url": "https://www.exploit-db.com/exploits/40986/"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection"
                },
                {
                    "name": "95130",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_BID"
                    ],
                    "url": "http://www.securityfocus.com/bid/95130"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html"
                },
                {
                    "name": "20161227 PHPMailer < 5.2.20 Remote Code Execution PoC 0day Exploit (CVE-2016-10045) (Bypass of the CVE-2016-1033 patch)",
                    "tags": [
                        "mailing-list",
                        "x_refsource_FULLDISC"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2016/Dec/81"
                },
                {
                    "name": "1037533",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_SECTRACK"
                    ],
                    "url": "http://www.securitytracker.com/id/1037533"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "cve@mitre.org",
                    "ID": "CVE-2016-10045",
                    "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": "The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "n/a"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html",
                            "refsource": "MISC",
                            "url": "http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html"
                        },
                        {
                            "name": "http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html",
                            "refsource": "MISC",
                            "url": "http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html"
                        },
                        {
                            "name": "42221",
                            "refsource": "EXPLOIT-DB",
                            "url": "https://www.exploit-db.com/exploits/42221/"
                        },
                        {
                            "name": "40969",
                            "refsource": "EXPLOIT-DB",
                            "url": "https://www.exploit-db.com/exploits/40969/"
                        },
                        {
                            "name": "20161228 PHPMailer < 5.2.20 Remote Code Execution PoC 0day Exploit (CVE-2016-10045) (Bypass of the CVE-2016-1033 patch)",
                            "refsource": "BUGTRAQ",
                            "url": "http://www.securityfocus.com/archive/1/539967/100/0/threaded"
                        },
                        {
                            "name": "[oss-security] 20161228 Re: PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033]",
                            "refsource": "MLIST",
                            "url": "http://openwall.com/lists/oss-security/2016/12/28/1"
                        },
                        {
                            "name": "https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities",
                            "refsource": "CONFIRM",
                            "url": "https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities"
                        },
                        {
                            "name": "https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20",
                            "refsource": "CONFIRM",
                            "url": "https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20"
                        },
                        {
                            "name": "40986",
                            "refsource": "EXPLOIT-DB",
                            "url": "https://www.exploit-db.com/exploits/40986/"
                        },
                        {
                            "name": "http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection",
                            "refsource": "MISC",
                            "url": "http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection"
                        },
                        {
                            "name": "95130",
                            "refsource": "BID",
                            "url": "http://www.securityfocus.com/bid/95130"
                        },
                        {
                            "name": "https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html",
                            "refsource": "MISC",
                            "url": "https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html"
                        },
                        {
                            "name": "20161227 PHPMailer < 5.2.20 Remote Code Execution PoC 0day Exploit (CVE-2016-10045) (Bypass of the CVE-2016-1033 patch)",
                            "refsource": "FULLDISC",
                            "url": "http://seclists.org/fulldisclosure/2016/Dec/81"
                        },
                        {
                            "name": "1037533",
                            "refsource": "SECTRACK",
                            "url": "http://www.securitytracker.com/id/1037533"
                        },
                        {
                            "name": "https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html",
                            "refsource": "CONFIRM",
                            "url": "https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-06T03:07:32.139Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html"
                    },
                    {
                        "name": "42221",
                        "tags": [
                            "exploit",
                            "x_refsource_EXPLOIT-DB",
                            "x_transferred"
                        ],
                        "url": "https://www.exploit-db.com/exploits/42221/"
                    },
                    {
                        "name": "40969",
                        "tags": [
                            "exploit",
                            "x_refsource_EXPLOIT-DB",
                            "x_transferred"
                        ],
                        "url": "https://www.exploit-db.com/exploits/40969/"
                    },
                    {
                        "name": "20161228 PHPMailer < 5.2.20 Remote Code Execution PoC 0day Exploit (CVE-2016-10045) (Bypass of the CVE-2016-1033 patch)",
                        "tags": [
                            "mailing-list",
                            "x_refsource_BUGTRAQ",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/archive/1/539967/100/0/threaded"
                    },
                    {
                        "name": "[oss-security] 20161228 Re: PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033]",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://openwall.com/lists/oss-security/2016/12/28/1"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20"
                    },
                    {
                        "name": "40986",
                        "tags": [
                            "exploit",
                            "x_refsource_EXPLOIT-DB",
                            "x_transferred"
                        ],
                        "url": "https://www.exploit-db.com/exploits/40986/"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection"
                    },
                    {
                        "name": "95130",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_BID",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/bid/95130"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html"
                    },
                    {
                        "name": "20161227 PHPMailer < 5.2.20 Remote Code Execution PoC 0day Exploit (CVE-2016-10045) (Bypass of the CVE-2016-1033 patch)",
                        "tags": [
                            "mailing-list",
                            "x_refsource_FULLDISC",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2016/Dec/81"
                    },
                    {
                        "name": "1037533",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_SECTRACK",
                            "x_transferred"
                        ],
                        "url": "http://www.securitytracker.com/id/1037533"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2016-10045",
        "datePublished": "2016-12-30T19:00:00",
        "dateReserved": "2016-12-26T00:00:00",
        "dateUpdated": "2024-08-06T03:07:32.139Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}