Exposure of Sensitive Information to an Unauthorized Actor in Doorkeeper
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| doorkeeper RubyGems |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| doorkeeper RubyGems |
|
|
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.
From the CVE record · mitre
Doorkeeper can disclose an OAuth application's client secret when the authorized applications controller is enabled. After authorizing the application and allowing access, an attacker can request their authorized applications as JSON to retrieve a secret intended only for the application owner.
Check applications using RubyGems doorkeeper versions >=5.0.0 <5.0.3, >=5.1.0 <5.1.1, >=5.2.0 <5.2.5, or >=5.3.0 <5.3.2.