Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-7852-w36x-6mf6

Опубликовано: 15 мая 2024
Источник: github
Github: Прошло ревью

Описание

Laravel Encrypter Component Potential Decryption Failure Leading to Unintended Behavior

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... }

Пакеты

Наименование

laravel/framework

composer
Затронутые версииВерсия исправления

< 5.5.40

5.5.40

Наименование

laravel/framework

composer
Затронутые версииВерсия исправления

>= 5.6.0, < 5.6.15

5.6.15

Дефекты

CWE-1240

Дефекты

CWE-1240