Credentials management in cURL - CVE-2016-8616

 

Credentials management in cURL - CVE-2016-8616

Published: August 1, 2018 / Updated: August 3, 2020


Vulnerability identifier: #VU33011
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-8616
CWE-ID: CWE-255
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

A flaw was found in curl before version 7.51.0 When re-using a connection, curl was doing case insensitive comparisons of user name and password with the existing connections. This means that if an unused connection with proper credentials exists for a protocol that has connection-scoped credentials, an attacker can cause that connection to be reused if s/he knows the case-insensitive version of the correct password.


Affected software

cURL
Amazon Linux AMI
Arch Linux
SUSE Linux
Ubuntu
Slackware Linux
Fedora
Opensuse
curl (Alpine package)
libcurl3-nss (Ubuntu package)
libcurl3 (Ubuntu package)
libcurl3-gnutls (Ubuntu package)
curl
Dell EMC Unisphere Central

How to mitigate CVE-2016-8616

Install update from vendor's website.

cURL - update to 7.51.0
curl (Alpine package) - addressed in versions 7.49.1-r4, 7.51.0-r0
libcurl3-nss (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.17, 7.35.0-1ubuntu2.10, 7.47.0-1ubuntu2.2, 7.50.1-1ubuntu1.1
libcurl3 (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.17, 7.35.0-1ubuntu2.10, 7.47.0-1ubuntu2.2, 7.50.1-1ubuntu1.1
libcurl3-gnutls (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.17, 7.35.0-1ubuntu2.10, 7.47.0-1ubuntu2.2, 7.50.1-1ubuntu1.1
curl - addressed in versions 7.47.1-9.fc24, 7.51.0-1.fc25
Dell EMC Unisphere Central - update to 4.0.8.23220

External References

Related Security Bulletins