Description

The smtplib library in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 does not return an error when StartTLS fails, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack."

INFO

Published Date :

Sept. 2, 2016, 2:59 p.m.

Last Modified :

Nov. 21, 2024, 2:42 a.m.

Remotely Exploitable :

Yes !

Impact Score :

4.2

Exploitability Score :

2.2
Public PoC/Exploit Available at Github

CVE-2016-0772 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-0772 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python python
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-0772.

URL Resource
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
http://rhn.redhat.com/errata/RHSA-2016-1626.html
http://rhn.redhat.com/errata/RHSA-2016-1627.html
http://rhn.redhat.com/errata/RHSA-2016-1628.html
http://rhn.redhat.com/errata/RHSA-2016-1629.html
http://rhn.redhat.com/errata/RHSA-2016-1630.html
http://www.openwall.com/lists/oss-security/2016/06/14/9 Mailing List
http://www.securityfocus.com/bid/91225
http://www.splunk.com/view/SP-CAAAPSV
http://www.splunk.com/view/SP-CAAAPUE
https://bugzilla.redhat.com/show_bug.cgi?id=1303647 Issue Tracking Third Party Advisory
https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5 Release Notes
https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2 Release Notes
https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS Release Notes
https://hg.python.org/cpython/rev/b3ce713fb9be Patch
https://hg.python.org/cpython/rev/d590114c2394 Patch
https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html
https://security.gentoo.org/glsa/201701-18
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
http://rhn.redhat.com/errata/RHSA-2016-1626.html
http://rhn.redhat.com/errata/RHSA-2016-1627.html
http://rhn.redhat.com/errata/RHSA-2016-1628.html
http://rhn.redhat.com/errata/RHSA-2016-1629.html
http://rhn.redhat.com/errata/RHSA-2016-1630.html
http://www.openwall.com/lists/oss-security/2016/06/14/9 Mailing List
http://www.securityfocus.com/bid/91225
http://www.splunk.com/view/SP-CAAAPSV
http://www.splunk.com/view/SP-CAAAPUE
https://bugzilla.redhat.com/show_bug.cgi?id=1303647 Issue Tracking Third Party Advisory
https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5 Release Notes
https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2 Release Notes
https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS Release Notes
https://hg.python.org/cpython/rev/b3ce713fb9be Patch
https://hg.python.org/cpython/rev/d590114c2394 Patch
https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html
https://security.gentoo.org/glsa/201701-18

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : Sept. 3, 2024, 3:51 a.m. This repo has been linked 32 different CVEs too.

None

Updated: 6 months, 2 weeks ago
1 stars 1 fork 1 watcher
Born at : Jan. 29, 2024, 7:04 a.m. This repo has been linked 80 different CVEs too.

hackerone one million reports

bugbountytips vulnerability-research

Updated: 1 year, 7 months ago
3 stars 1 fork 1 watcher
Born at : Oct. 15, 2022, 6:48 p.m. This repo has been linked 80 different CVEs too.

proxy poc implementation of STARTTLS stripping attacks

tls starttls interception mitm striptls tcp-proxy man-in-the-middle security-audit security

Python

Updated: 2 months, 2 weeks ago
166 stars 29 fork 29 watcher
Born at : Jan. 29, 2016, 8:13 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-0772 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-0772 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jan. 21, 2020

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 09, 2019

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-1630.html [No Types Assigned]
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-1629.html [No Types Assigned]
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-1628.html [No Types Assigned]
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-1627.html [No Types Assigned]
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-1626.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 01, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201701-18 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 24, 2016

    Action Type Old Value New Value
    Added Reference http://www.splunk.com/view/SP-CAAAPUE [No Types Assigned]
    Added Reference http://www.splunk.com/view/SP-CAAAPSV [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/91225 [No Types Assigned]
  • CVE Translated by [email protected]

    Sep. 02, 2016

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Sep. 02, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:python:python:3.5.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.5.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.6:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.4.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.4.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.4.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.4.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.4.4:*:*:*:*:*:*:* Configuration 3 OR *cpe:2.3:a:python:python:2.7.11:*:*:*:*:*:*:* (and previous)
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:N)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/06/14/9 No Types Assigned http://www.openwall.com/lists/oss-security/2016/06/14/9 Mailing List
    Changed Reference Type https://hg.python.org/cpython/rev/b3ce713fb9be No Types Assigned https://hg.python.org/cpython/rev/b3ce713fb9be Patch
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1303647 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1303647 Third Party Advisory, Issue Tracking
    Changed Reference Type https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5 No Types Assigned https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5 Release Notes
    Changed Reference Type https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2 No Types Assigned https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2 Release Notes
    Changed Reference Type https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS No Types Assigned https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS Release Notes
    Changed Reference Type https://hg.python.org/cpython/rev/d590114c2394 No Types Assigned https://hg.python.org/cpython/rev/d590114c2394 Patch
    Added CWE CWE-693
  • Initial Analysis by [email protected]

    Sep. 02, 2016

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-0772 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-0772 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.63 }} 0.40%

score

0.87223

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability