Skip to content

GHSA-9v78-h226-2rmq Zendframework potential security issue in login mechanism

HighCVSS 7.5
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

Using the Consumer component of ZendOpenId (or Zend_OpenId in ZF1), it is possible to login using an arbitrary OpenID account (without knowing any secret information) by using a malicious OpenID Provider. That means OpenID it is possible to login using arbitrary OpenID Identity (MyOpenID, Google, etc), which are not under the control of our own OpenID Provider. Thus, we are able to impersonate any OpenID Identity against the framework.

Moreover, the Consumer accepts OpenID tokens with arbitrary signed elements. The framework does not check if, for example, both openid.claimed_id and openid.endpoint_url are signed. It is just sufficient to sign one parameter. According to https://openid.net/specs/openid-authentication-2_0.html#positive_assertions, at least op_endpoint, return_to, response_nonce, assoc_handle, and, if present in the response, claimed_id and identity, must be signed.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
zendframework/zendframework1(Packagist) = 1.12.0; = 1.12.1; = 1.12.2; = 1.12.3 +1 more 1.12.4 Fixed

Affected products

ProductAffected versionsFixed in
zendframework/zendframework1(Packagist) >= 1.12.0, < 1.12.4 1.12.4
zendframework/zendframework1(Packagist) = 1.12.0 No fix listed
zendframework/zendframework1(Packagist) = 1.12.1 No fix listed
zendframework/zendframework1(Packagist) = 1.12.2 No fix listed
zendframework/zendframework1(Packagist) = 1.12.3 No fix listed

References