CVE-2016-2402
OkHttp Certificate Pinning Bypass
Description
OkHttp before 2.7.4 and 3.x before 3.1.2 allows man-in-the-middle attackers to bypass certificate pinning by sending a certificate chain with a certificate from a non-pinned trusted CA and the pinned certificate.
INFO
Published Date :
Jan. 30, 2017, 10:59 p.m.
Last Modified :
Nov. 21, 2024, 2:48 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
2.2
Public PoC/Exploit Available at Github
CVE-2016-2402 has a 15 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-2402
.
URL | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2016/02/10/8 | Mailing List Third Party Advisory |
http://www.openwall.com/lists/oss-security/2016/02/18/7 | Mailing List Third Party Advisory |
https://koz.io/pinning-cve-2016-2402/ | Technical Description Third Party Advisory |
https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E | |
https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/ | Vendor Advisory |
http://www.openwall.com/lists/oss-security/2016/02/10/8 | Mailing List Third Party Advisory |
http://www.openwall.com/lists/oss-security/2016/02/18/7 | Mailing List Third Party Advisory |
https://koz.io/pinning-cve-2016-2402/ | Technical Description Third Party Advisory |
https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E | |
https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/ | Vendor Advisory |
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
Shell
None
Shell
None
Shell
None
Shell
None
Shell
None
None
None
None
None
None
An analysis on open-source Android apps intended to learn if they are harmed by vulnerable dependencies 🔒
gradle cli security supply-chain-analytics python
Python Shell
Testing Vulnerable libraries in Xamarin Project - using OWASP dependency-check and SafeNuGet
C# Java
OkHttp sample app vulnerable to CVE-2016-2402
Java
Simple script for testing CVE-2016-2402 and similar flaws
Python
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-2402
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2016-2402
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2016/02/10/8 Added Reference http://www.openwall.com/lists/oss-security/2016/02/18/7 Added Reference https://koz.io/pinning-cve-2016-2402/ Added Reference https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E Added Reference https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E [No types assigned] Removed Reference MITRE https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E -
Modified Analysis by [email protected]
Feb. 01, 2021
Action Type Old Value New Value Removed CVSS V3 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E Mailing List, Third Party Advisory -
CVE Modified by [email protected]
Dec. 16, 2020
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E [No Types Assigned] -
Reanalysis by [email protected]
Nov. 15, 2017
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:square:okhttp:*:*:*:*:*:*:*:* versions up to (including) 2.7.3 *cpe:2.3:a:square:okhttp:3.0.0:*:*:*:*:*:*:* *cpe:2.3:a:square:okhttp:3.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:square:okhttp:3.0.1:*:*:*:*:*:*:* *cpe:2.3:a:square:okhttp:3.1.0:*:*:*:*:*:*:* *cpe:2.3:a:square:okhttp:3.1.1:*:*:*:*:*:*:* OR *cpe:2.3:a:squareup:okhttp:*:*:*:*:*:*:*:* versions up to (including) 2.7.3 *cpe:2.3:a:squareup:okhttp3:3.0.0:*:*:*:*:*:*:* *cpe:2.3:a:squareup:okhttp3:3.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:squareup:okhttp3:3.0.1:*:*:*:*:*:*:* *cpe:2.3:a:squareup:okhttp3:3.1.0:*:*:*:*:*:*:* *cpe:2.3:a:squareup:okhttp3:3.1.1:*:*:*:*:*:*:* -
Initial Analysis by [email protected]
Feb. 28, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:P/A:N) Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/ No Types Assigned https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/ Vendor Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2016/02/10/8 No Types Assigned http://www.openwall.com/lists/oss-security/2016/02/10/8 Third Party Advisory, Mailing List Changed Reference Type http://www.openwall.com/lists/oss-security/2016/02/18/7 No Types Assigned http://www.openwall.com/lists/oss-security/2016/02/18/7 Third Party Advisory, Mailing List Changed Reference Type https://koz.io/pinning-cve-2016-2402/ No Types Assigned https://koz.io/pinning-cve-2016-2402/ Third Party Advisory, Technical Description Added CWE CWE-295 Added CPE Configuration OR *cpe:2.3:a:square:okhttp:2.7.3:*:*:*:*:*:*:* (and previous) *cpe:2.3:a:square:okhttp:3.0.0:*:*:*:*:*:*:* *cpe:2.3:a:square:okhttp:3.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:square:okhttp:3.0.1:*:*:*:*:*:*:* *cpe:2.3:a:square:okhttp:3.1.0:*:*:*:*:*:*:* *cpe:2.3:a:square:okhttp:3.1.1:*:*:*:*:*:*:*
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-2402
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-2402
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.08 }} -0.00%
score
0.35940
percentile