GHSA-9v78-h226-2rmq: Zendframework potential security issue in login mechanism
Using the Consumer component of ZendOpenId (or ZendOpenId 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.
Published Jun 7, 2024
Affected packages
zendframework/zendframework1
- Ecosystem
- Composer (PHP)
- Affected
- >= 1.12.0, < 1.12.4
- Fixed in
- 1.12.4
- Check
composer show zendframework/zendframework1
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesGHSA-229x-22xc-2f2w
Zendframework Local file disclosure via XXE injection in Zend_XmlRpc
high8.6Jun 7, 2024GHSA-2jx7-xg83-j2m7
Zendframework Denial of Service vector via XEE injection
high7.5Jun 7, 2024GHSA-2x36-qhx3-7m5f
ZendFramework1 Potential SQL injection in the ORDER implementation of Zend_Db_Select
critical9.8Jun 7, 2024GHSA-4j9x-g4x8-vcmf
ZendFramework potential XML eXternal Entity injection vectors
high7.5Jun 7, 2024GHSA-4v57-pwvf-x35j
Zendframework potential Cross-site Scripting vector in `Zend_Service_ReCaptcha_MailHide`
medium6.1Jun 7, 2024GHSA-4vf6-mq7w-3hp6
Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed
medium6.1Jun 7, 2024
