Information Disclosure

Affecting doorkeeper gem, versions >=5.0.0, <5.0.3 || >=5.1.0, <5.1.1 || >=5.2.0, <5.2.5 || >=5.3.0, <5.3.2

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

doorkeeper is an OAuth 2 provider for Rails and Grape.

Affected versions of this package are vulnerable to Information Disclosure. It 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.

Remediation

Upgrade doorkeeper to version 5.0.3, 5.1.1, 5.2.5, 5.3.2 or higher.

References

CVSS Score

4.3
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    Required
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Credit
Unknown
CVE
CVE-2020-10187
CWE
CWE-200
Snyk ID
SNYK-RUBY-DOORKEEPER-568078
Disclosed
04 May, 2020
Published
04 May, 2020