Impact
Information disclosure vulnerability. Allows an attacker to see all Doorkeeper::Application model attribute values (including secrets) using authorized applications controller if it's enabled (GET /oauth/authorized_applications.json).
Patches
These versions have the fix:
Workarounds
Patch Doorkeeper::Application model #as_json(options = {}) method and define only those attributes you want to expose.
Additional recommended hardening is to enable application secrets hashing (guide), available since Doorkeeper 5.1. This would render the exposed secret useless.
References
Impact
Information disclosure vulnerability. Allows an attacker to see all
Doorkeeper::Applicationmodel attribute values (including secrets) using authorized applications controller if it's enabled (GET /oauth/authorized_applications.json).Patches
These versions have the fix:
Workarounds
Patch
Doorkeeper::Applicationmodel#as_json(options = {})method and define only those attributes you want to expose.Additional recommended hardening is to enable application secrets hashing (guide), available since Doorkeeper 5.1. This would render the exposed secret useless.
References