CVE-2016-5420: High severity Google Android vulnerability
curl and libcurl before 7.50.1 do not check the client certificate when choosing the TLS connection to reuse, which might allow remote attackers to hijack the authentication of the connection by leveraging a previously created connection with a different client certificate.
Other sources
It was found that the libcurl library did not check the client certificate when choosing the TLS connection to reuse. An attacker could potentially use this flaw to hijack the authentication of the connection by leveraging a previously created connection with a different client certificate.
It was reported that libcurl did not consider client certificates when reusing TLS connections. libcurl supports reuse of established connections for subsequent requests. It does this by keeping a few previous connections "alive" in a connection pool so that a subsequent request that can use one of them instead of creating a new connection will do so.
When using a client certificate for a connection that was then put into the connection pool, that connection could then wrongly get reused in a subsequent request to that same server that either didn't use a client certificate at all or that asked to use a different client certificate thus trying to tell the user that it is a different entity.
This mistakenly using the wrong connection could of course lead to applications sending requests to the wrong realms of the server using authentication that it wasn't supposed to have for those operations.
External Reference:
https://curl.haxx.se/docs/adv20160803B.html
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2016-5420?
CVE-2016-5420 has been classified as a medium severity vulnerability.
How do I fix CVE-2016-5420?
To address CVE-2016-5420, upgrade curl and libcurl to version 7.50.1 or later.
What software is affected by CVE-2016-5420?
CVE-2016-5420 affects curl and libcurl versions prior to 7.50.1 across various distributions.
Can CVE-2016-5420 allow for remote attacks?
Yes, CVE-2016-5420 may allow remote attackers to hijack authentication of connections.
What authentication mechanism is vulnerable in CVE-2016-5420?
CVE-2016-5420 involves a vulnerability in the TLS connection mechanism related to client certificates.