همهٔ گزارش‌ها
زیاد

Exposure of Sensitive Information to an Unauthorized Actor in Doorkeeper

متن اصلی

نسخه‌های متأثر

RubyGemsdoorkeeper
نسخه‌های متأثر
>= 5.2.0, < 5.2.5
نسخهٔ اصلاح‌شده
5.2.5
RubyGemsdoorkeeper
نسخه‌های متأثر
>= 5.3.0, < 5.3.2
نسخهٔ اصلاح‌شده
5.3.2
RubyGemsdoorkeeper
نسخه‌های متأثر
>= 5.0.0, < 5.0.3
نسخهٔ اصلاح‌شده
5.0.3
RubyGemsdoorkeeper
نسخه‌های متأثر
= 5.1.0
نسخهٔ اصلاح‌شده
5.1.1

بهره‌برداری

CVE-2020-10187

احتمال بهره‌برداری در ۳۰ روز آینده: 1.78%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

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:

  • 5.0.3

  • 5.1.1

  • 5.2.5

  • 5.3.2

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

پیوندها

گزارش‌دهندگان

  • stefansundin
  • nbulaj