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

laravel framework SQL Injection via limit and offset functions

متن اصلی

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

بازه‌ها نیاز به بررسی دارند.

نسخه‌های متأثر
>= 8.0.0, < 8.40.0
نسخهٔ اصلاح‌شده
8.40.0
نسخه‌های متأثر
>= 6.0.0, < 6.20.26
نسخهٔ اصلاح‌شده
6.20.26
نسخه‌های متأثر
>= 7.0.0, < 7.30.5
نسخهٔ اصلاح‌شده
7.30.5
نسخه‌های متأثر
>=4.0.0,<4.0.99|>=4.1.0,<4.1.26
نسخهٔ اصلاح‌شده
اعلام نشده

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

Impact

Those using SQL Server with Laravel and allowing user input to be passed directly to the limit and offset functions are vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability.

Patches

This problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0.

Workarounds

You may workaround this vulnerability by ensuring that only integers are passed to the limit and offset functions, as well as the skip and take functions.

پیوندها