cURL up to 7.54.1 URL Globbing memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.4$0-$5k0.00

Summaryinfo

A vulnerability was found in cURL up to 7.54.1 and classified as problematic. This vulnerability affects unknown code of the component URL Globbing. Such manipulation with the input http://ur%20[0-60000000000000000000 leads to memory corruption. This vulnerability is traded as CVE-2017-1000101. An attack has to be approached locally. Furthermore, there is an exploit available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in cURL up to 7.54.1 (Network Utility Software). Affected by this issue is an unknown code of the component URL Globbing. The manipulation with the input value http://ur%20[0-60000000000000000000 leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality.

The bug was discovered 06/14/2017. The weakness was shared 08/09/2017 by Brian Carpenter as adv_20170809A as confirmed advisory (Website). The advisory is shared for download at curl.haxx.se. This vulnerability is handled as CVE-2017-1000101 since 10/03/2017. The attack needs to be approached locally. A simple authentication is needed for exploitation. Technical details as well as a public exploit are known. The following code is the reason for this vulnerability:

if(errno || (*endp == ':')) {

A public exploit has been developed in URL and been published immediately after the advisory. The exploit is available at curl.haxx.se. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 56 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 102877 (Amazon Linux AMI : curl (ALAS-2017-889)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 276813 (Fedora Security Update for curl (FEDORA-2017-f2df9d7772)).

Upgrading to version 7.55.0 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at curl.haxx.se. The best possible mitigation is suggested to be upgrading to the latest version. 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(errno)
   /* overflow */
   endp = NULL;
else if(*endp == ':') {

The vulnerability is also documented in the databases at Tenable (102877), SecurityFocus (BID 100249†) and SecurityTracker (ID 1039117†). The entries VDB-105282, VDB-105283 and VDB-108948 are related to this item. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.9
VulDB Meta Temp Score: 4.7

VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 102877
Nessus Name: Amazon Linux AMI : curl (ALAS-2017-889)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 53378
OpenVAS Name: Debian Security Advisory DSA 3992-1 (curl - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: cURL 7.55.0
Patch: curl.haxx.se

Timelineinfo

06/14/2017 🔍
08/09/2017 +56 days 🔍
08/09/2017 +0 days 🔍
08/09/2017 +0 days 🔍
08/09/2017 +0 days 🔍
08/10/2017 +1 days 🔍
08/13/2017 +3 days 🔍
09/01/2017 +19 days 🔍
10/03/2017 +32 days 🔍
10/04/2017 +1 days 🔍
01/09/2021 +1193 days 🔍

Sourcesinfo

Advisory: adv_20170809A
Researcher: Brian Carpenter
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-1000101 (🔍)
GCVE (CVE): GCVE-0-2017-1000101
GCVE (VulDB): GCVE-100-105284

OVAL: 🔍

SecurityFocus: 100249 - cURL CVE-2017-1000101 Out of Bounds Read Information Disclosure Vulnerability
SecurityTracker: 1039117

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 08/13/2017 19:30
Updated: 01/09/2021 11:51
Changes: 08/13/2017 19:30 (91), 11/06/2019 18:05 (5), 01/09/2021 11:51 (3)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!