llamaCVEVulnerability Intelligence
/
n/a

CVE-2020-10187

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

UnclearParche disponible
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Fuente: NVD
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche4 versionesPrimer parche a -2 d de la divulgación
Exposición2.390 dDesde la divulgación, 4 may 2020, 8:19 a. m.
Detección2.373 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 5.1.1 +2
Parche 5.0.3
Monitoreo
Detectada
Verificada
2 may 20
4 may 20
5 may 20
4 ago 24
3 nov 26
18 nov 26
20 nov 26
2 may 20
21 dic 21
11 ago 23
1 abr 25
20 nov 26
FechaFaseEventoDetalle
Remediación Parche 5.1.1 doorkeeper · -2 d desde divulgación
Remediación Parche 5.2.5 doorkeeper · -2 d desde divulgación
Remediación Parche 5.3.2 doorkeeper · -2 d desde divulgación
Divulgación Publicada CVE-2020-10187 divulgada · CVSS 7.5 (NVD)
Remediación Parche 5.0.3 doorkeeper · 1 d desde divulgación
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

¿Qué significa?The authorized applications controller can reveal every attribute of the Doorkeeper::Application model, including client secrets, to whoever calls it. The exposure comes from how the model is serialized when that controller is enabled.
¿Quién está afectado?Doorkeeper 5.0.0 and later are affected when the authorized applications controller is enabled. To check, look at your Doorkeeper version in your Gemfile.lock and whether the authorized applications controller is enabled in your configuration.
¿Qué hacer?No fixed version or vendor patch ids are listed in the checked facts, so no upgrade target can be given from them. Check the Doorkeeper advisory for an updated release before relying on any version.
no-patchUntil a fix is available, the workaround is to patch the Doorkeeper::Application model's #as_json method and define only the attributes you want to expose. Alternatively, disable the authorized applications controller if it is not needed.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
The authorized applications controller is enabled.“using authorized applications controller if it's enabled”
¿Quién debe revisar?Teams running Doorkeeper 5.0.0 or later with the authorized applications controller enabled.
MitigaciónPatch Doorkeeper::Application model #as_json(options = {}) method and define only those attributes you want to expose.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
doorkeeper≥ 5.0.0 < 5.0.3
doorkeeper≥ 5.1.0 < 5.1.1
doorkeeper≥ 5.2.0 < 5.2.5
doorkeeper≥ 5.3.0 < 5.3.2
5.0.0
5.0.3
5.1.0
5.1.1
5.2.0
5.2.5
5.3.0
5.3.2
5.9.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
rubygemsdoorkeeper
Corregida 5.0.3, 5.1.1, 5.2.5, 5.3.2 1 d · -2 d · -2 d · -2 d 5.9.9 no afectada
Versiones corregidas5.0.35.1.15.2.55.3.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/doorkeeper-gem/doorkeeper/security/advisories/GHSA-j7vx-8mqj-cqp9
Otrahttps://github.com/doorkeeper-gem/doorkeeper/releases
Otrahttps://github.com/doorkeeper-gem/doorkeeper/commit/25d038022c2fcad45af5b73f9d003cf38ff491f6
Otrahttps://github.com/rubysec/ruby-advisory-db/pull/446

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.