CVE-2017-2628 Auth bypass in curl

Critical 9.8 Published Updated

A backporting error in Red Hat's curl package failed to properly disable GSSAPI, potentially allowing authentication bypass in HTTP Negotiate scenarios.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-2628?

CVE-2017-2628 is a critical authentication bypass vulnerability in Haxx Curl, published on 12 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

curl, as shipped in Red Hat Enterprise Linux 6 before version 7.19.7-53, did not correctly backport the fix for CVE-2015-3148 because it did not reflect the fact that the HAVE_GSSAPI define was meanwhile substituted by USE_HTTP_NEGOTIATE. This issue was introduced in RHEL 6.7 and affects RHEL 6 curl only.

Weakness: CWE-287

Which versions are affected by CVE-2017-2628?

It affects 1 product.

Linux distribution packages (16)
curl Red Hat:enterprise_linux:6::clientAll versions0:7.19.7-53.el6_9
curl-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:7.19.7-53.el6_9
libcurl Red Hat:enterprise_linux:6::clientAll versions0:7.19.7-53.el6_9
libcurl-devel Red Hat:enterprise_linux:6::clientAll versions0:7.19.7-53.el6_9
curl Red Hat:enterprise_linux:6::computenodeAll versions0:7.19.7-53.el6_9
curl-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:7.19.7-53.el6_9
libcurl Red Hat:enterprise_linux:6::computenodeAll versions0:7.19.7-53.el6_9
libcurl-devel Red Hat:enterprise_linux:6::computenodeAll versions0:7.19.7-53.el6_9
curl Red Hat:enterprise_linux:6::serverAll versions0:7.19.7-53.el6_9
curl-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:7.19.7-53.el6_9
libcurl Red Hat:enterprise_linux:6::serverAll versions0:7.19.7-53.el6_9
libcurl-devel Red Hat:enterprise_linux:6::serverAll versions0:7.19.7-53.el6_9
curl Red Hat:enterprise_linux:6::workstationAll versions0:7.19.7-53.el6_9
curl-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:7.19.7-53.el6_9
libcurl Red Hat:enterprise_linux:6::workstationAll versions0:7.19.7-53.el6_9
libcurl-devel Red Hat:enterprise_linux:6::workstationAll versions0:7.19.7-53.el6_9

Products include Haxx Curl.

How do I fix CVE-2017-2628?

Apply the vendor's patch.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2017-2628 being exploited?

There is no known exploitation of CVE-2017-2628 in the wild and no public exploit code.

All Haxx Curl vulnerabilities

Sources

Also known as GHSA-9v4c-xqrp-4vv9, RHSA-2017:0847.

Is CVE-2017-2628 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free