What’s Vulnerable › Vulnerabilities

CVE-2020-10187: Exposure of Sensitive Information to an Unauthorized Actor in Doorkeeper

Description

Doorkeeper version 5.0.0 and later contains an information disclosure vulnerability that allows an attacker to retrieve the client secret only intended for the OAuth application owner. After authorizing the application and allowing access, the attacker simply needs to request the list of their authorized applications in a JSON format (usually GET /oauth/authorized_applications.json). An application is vulnerable if the authorized applications controller is enabled.

Affected products

How to fix

Upgrade to a fixed version: doorkeeper-gem doorkeeper 5.0.3, 5.1.1, 5.2.5, 5.3.2; Rubygems Doorkeeper 5.0.3, 5.1.1, 5.2.5, 5.3.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-10187 or the next vulnerability affects your stack