PT-2020-18351
CVE-2020-5257
·
تاريخ النشر
2020-03-13
·
تاريخ التحديث
2020-03-18
الوصف من
CVSS 3.1
7.7
عاليةالمقاييسAV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Administrate (rubygem) versions prior to 0.13.0
Description
The issue arises when sorting by attributes on a dashboard, where the
direction parameter was not validated before being interpolated into the SQL query. This could present a SQL injection if the attacker were able to modify the direction parameter and bypass ActiveRecord SQL protections. To exploit this, access to the Administrate dashboards is needed, which is typically expected to be behind authentication.Recommendations
For versions prior to 0.13.0, update to version 0.13.0 to resolve the issue. As a temporary workaround, consider restricting access to the Administrate dashboards to minimize the risk of exploitation. Additionally, ensure that the
direction parameter is properly validated before being used in SQL queries to prevent SQL injection attacks.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾