CVE-2023-34246
JSON

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 packageVersionsReported by
doorkeeper-gem doorkeeper< 5.6.6CVE List
doorkeeper (RubyGems)before 5.6.6GitHub Advisory Database
doorkeeper_project doorkeeperbefore 5.6.6NVD

All scores

GitHub_M4.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
GitHub4.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-287

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

Fix https://github.com/doorkeeper-gem/doorkeeper/pull/1646

References

Sources

SourceRecordLicence
CVE ListCVE-2023-34246 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-7w2c-w47h-789w changed 2026-09-10CC-BY-4.0
NVDCVE-2023-34246 changed 2026-06-17Public domain