mitreid-connect/openid-connect-java-spring-server · Security
Autobinding vulnerability in MITREid Connect
- GHSA ID
- GHSA-8p36-q63g-68qh
- CVE ID
- CVE-2021-27582
- Severity
- critical
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Description
org/mitre/oauth2/web/OAuthConfirmationController.java in the OpenID Connect server implementation for MITREid Connect through 1.3.3 contains a Mass Assignment (aka Autobinding) vulnerability. This arises due to unsafe usage of the @ModelAttribute annotation during the OAuth authorization flow, in which HTTP request parameters affect an authorizationRequest.
CWEs
- CWE-915 · Improperly Controlled Modification of Dynamically-Determined Object Attributes
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-27582 ↗
- https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/commit/7eba3c12fed82388f917e8dd9b73e86e3a311e4c ↗
- https://portswigger.net/research/hidden-oauth-attack-vectors ↗
- http://agrrrdog.blogspot.com/2017/03/autobinding-vulns-and-spring-mvc.html ↗
- https://github.com/advisories/GHSA-8p36-q63g-68qh ↗