6819_4_4_1_7

Authorization 'code' Leakage through Counterfeit Client

The attacker leverages the authorization 'code' grant type in an attempt to get another user (victim) to log in, authorize access to his/her resources, and subsequently obtain the authorization 'code' and inject it into a client application using the attacker's account. The goal is to associate an access authorization for resources of the victim with the user account of the attacker on a client site. The attacker abuses an existing client application and combines it with his own counterfeit client web site. The attacker depends on the victim expecting the client application to request access to a certain resource server. The victim, seeing only a normal request from an expected application, approves the request. The attacker then uses the victim's authorization to gain access to the information unknowingly authorized by the victim.

OAuth 2.0 Threat Model and Security Considerations (RFC6819, section 4.4.1.7)

Mitigations

This threat is considered fully mitigated if all the test cases from the following test set succeed.

Back to the threat overview