CVE-2016-2049: High severity janrain php-openid vulnerability

Published Feb 1, 2016
·
Updated

examples/consumer/common.php in JanRain PHP OpenID library (aka php-openid) improperly checks the openid.realm parameter against the SERVERNAME 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.

Affected Software

1 affected component
Janrain php-openid

Event History

Feb 1, 2016
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-2049?

The severity of CVE-2016-2049 is considered moderate due to its potential impact on user authentication.

2

How do I fix CVE-2016-2049?

To fix CVE-2016-2049, ensure that the openid.realm parameter is properly validated against a safe list of allowed values instead of relying on the SERVER_NAME.

3

What software is affected by CVE-2016-2049?

CVE-2016-2049 affects JanRain PHP OpenID library, also known as php-openid.

4

Can CVE-2016-2049 lead to remote attacks?

Yes, CVE-2016-2049 can allow remote attackers to hijack user authentication if exploited.

5

Is there a workaround for CVE-2016-2049?

A possible workaround for CVE-2016-2049 is to implement additional checks and secure configurations for the openid.realm parameter.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203