الرئيسية
الرئيسية
الاتجاهات
الاتجاهات
الثغرات
الثغرات
الأخبار
الأخبار
الباحثون
الباحثون
لماذا dbugs؟
لماذا dbugs؟
الإعدادات

Billy Autrey

#51438من 61,301
5.9إجمالي CVSS
الثغرات · 1
PT-2022-20467
2022-06-02
5.9
CVE-2022-31023
Unknown
Play Framework
The issue concerns the generation of error messages containing sensitive information in Play Framework. When run in dev mode, Play Framework shows verbose errors for easy debugging, including an exception stack trace. This behavior is configured by the `DefaultHttpErrorHandler` based on the application mode. However, the static object `DefaultHttpErrorHandler` is configured to always show verbose errors, which can be inadvertently used in production or improperly configured as the injected error handler. This could result in verbose errors displaying to users in a production application, exposing sensitive information. Specifically, the constructor for `CORSFilter` and the `apply` method for `CORSActionBuilder` use the static object `DefaultHttpErrorHandler` as a default value.