همهٔ گزارش‌ها
کم

Laravel Encrypter Failure to decryption vulnerability

متن اصلی

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

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

نسخه‌های متأثر
>=4.0.0,<=4.0.11|>=4.1.0,<=4.1.31|>=4.2.0,<=4.2.22|>=5.0.0,<=5.0.35|>=5.1.0,<=5.1.46|>=5.2.0,<=5.2.45|>=5.3.0,<=5.3.31|>=5.4.0,<=5.4.36|>=5.5.0,<5.5.40|>=5.6.0,<5.6.15
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
>= 5.5.0, < 5.5.40
نسخهٔ اصلاح‌شده
5.5.40
نسخه‌های متأثر
>= 5.6.0, < 5.6.15
نسخهٔ اصلاح‌شده
5.6.15

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

A potential exploit of the Laravel Encrypter component that may cause the Encrypter to fail on decryption and unexpectedly return false.

To exploit this, the attacker must be able to modify the encrypted payload before it is decrypted. Depending on the code within your application, this could lead to unexpected behavior when combined with weak type comparisons, for example:

<?php

$decyptedValue = decrypt($secret);

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

پیوندها