همهٔ گزارش‌ها
متوسط

Laravel Encrypter Component Potential Decryption Failure Leading to Unintended Behavior

متن اصلی

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

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

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

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

The Laravel Encrypter component is susceptible to a vulnerability that may result in decryption failure, leading to an unexpected return of false. Exploiting this issue requires the attacker to manipulate the encrypted payload before decryption. When combined with weak type comparisons in the application's code, such as the example below:

<?php

$decyptedValue = decrypt($secret);

if ($decryptedValue == '') {
    // Code is run even though decrypted value is false...
}

پیوندها