CVE-2016-2049 Auth bypass in n/a

High 8.8 Published Updated

Attackers can hijack user authentication in the JanRain PHP OpenID library by spoofing the HTTP Host header to bypass realm checks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2016-2049?

CVE-2016-2049 is a high-severity authentication bypass vulnerability in n/a, published on 1 Feb 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

examples/consumer/common.php in JanRain PHP OpenID library (aka php-openid) improperly checks the openid.realm parameter against the SERVER_NAME element in the SERVER superglobal array, which might allow remote attackers to hijack the authentication of arbitrary users via vectors involving a crafted HTTP Host header.

Weakness: CWE-284

Which versions are affected by CVE-2016-2049?

It affects 1 product.

Products include Janrain Php-Openid.

How do I fix CVE-2016-2049?

No fix has been published for CVE-2016-2049 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2016-2049 being exploited?

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

Sources

Also known as GHSA-w7j5-jxx6-p7j4, UBUNTU-CVE-2016-2049.

Is CVE-2016-2049 in your software?

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

Check your SBOMs for free