4.2medium
Doorkeeper Improper Authentication vulnerability
- Severity
- 4.2medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.80% (higher than 53% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7w2c-w47h-789w
Description
Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape. Prior to version 5.6.6, Doorkeeper automatically processes authorization requests without user consent for public clients that have been previous approved. Public clients are inherently vulnerable to impersonation, their identity cannot be assured. This issue is fixed in version 5.6.6.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| doorkeeper-gem doorkeeper | < 5.6.6 | CVE List |
| doorkeeper (RubyGems) | before 5.6.6 | GitHub Advisory Database |
| doorkeeper_project doorkeeper | before 5.6.6 | NVD |
All scores
| GitHub_M | 4.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 4.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape. Prior to version 5.6.6, Doorkeeper automatically processes authorization requests without user consent for public clients that have been previous approved. Public clients are inherently vulnerable to impersonation, their identity cannot be assured. This issue is fixed in version 5.6.6.
GitHub Advisory Database
OAuth RFC 8252 says https://www.rfc-editor.org/rfc/rfc8252#section-8.6
the authorization server SHOULD NOT process authorization requests automatically without user consent or interaction, except when the identity of the client can be assured. This includes the case where the user has previously approved an authorization request for a given client id
But Doorkeeper automatically processes authorization requests without user consent for public clients that have been previously approved. Public clients are inherently vulnerable to impersonation, their identity cannot be assured.
Issue https://github.com/doorkeeper-gem/doorkeeper/issues/1589
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-34246 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7w2c-w47h-789w changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2023-34246 changed 2026-06-17 | Public domain |