cURL/libcURL up to 7.50.1 TLS Certificate lib/vtls/nss.c SelectClientCert improper authentication
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.17 |
Summary
A vulnerability was found in cURL and libcURL up to 7.50.1. It has been rated as critical. This affects the function SelectClientCert in the library lib/vtls/nss.c of the component TLS Certificate Handler. The manipulation leads to improper authentication.
This vulnerability is referenced as CVE-2016-7141. Remote exploitation of the attack is possible. No exploit is available.
Upgrading the affected component is advised.
Details
A vulnerability was found in cURL and libcURL up to 7.50.1 (Network Utility Software). It has been rated as critical. This issue affects the function SelectClientCert in the library lib/vtls/nss.c of the component TLS Certificate Handler. The manipulation with an unknown input leads to a improper authentication vulnerability. Using CWE to declare the problem leads to CWE-287. When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. Impacted is confidentiality, integrity, and availability.
The weakness was published 09/07/2016 as Incorrect reuse of client certificates as confirmed advisory (Website). The advisory is shared at curl.haxx.se. The identification of this vulnerability is CVE-2016-7141 since 09/05/2016. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 95917 (macOS 10.12.x < 10.12.2 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family MacOS X Local Security Checks and running in the context c. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176814 (Debian Security Update for curl (DLA 1568-1)).
Upgrading to version 7.50.2 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:
if(!strncmp(nickname, pem_slotname, sizeof(pem_slotname) - 1U)) {
failf(data, "NSS: refusing previously loaded certificate from file: %s",
nickname);
return SECFailure;
}The vulnerability is also documented in the databases at Tenable (95917), SecurityFocus (BID 92754†) and SecurityTracker (ID 1036739†). Similar entries are available at VDB-87463, VDB-90449, VDB-91659 and VDB-91680. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://github.com/curl/curl/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.5
VulDB Temp Score: 7.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Improper authenticationCWE: CWE-287
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 95917
Nessus Name: macOS 10.12.x < 10.12.2 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 14611
OpenVAS Name: Amazon Linux Local Check: alas-2016-742
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: cURL/libcURL 7.50.2
Patch: github.com
Timeline
09/05/2016 🔍09/06/2016 🔍
09/07/2016 🔍
09/07/2016 🔍
09/07/2016 🔍
09/08/2016 🔍
10/03/2016 🔍
12/16/2016 🔍
09/15/2022 🔍
Sources
Product: github.comAdvisory: Incorrect reuse of client certificates
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2016-7141 (🔍)
GCVE (CVE): GCVE-0-2016-7141
GCVE (VulDB): GCVE-100-91385
SecurityFocus: 92754 - cURL/libcURL CVE-2016-7141 Certificate Validation Security Bypass Vulnerability
SecurityTracker: 1036739
See also: 🔍
Entry
Created: 09/08/2016 22:23Updated: 09/15/2022 10:05
Changes: 09/08/2016 22:23 (62), 04/12/2019 09:14 (23), 09/15/2022 10:05 (5)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.