First published: Wed May 15 2024(Updated: )
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 <?php $decyptedValue = decrypt($secret); if ($decryptedValue == '') { // Code is run even though decrypted value is false... } ```
Affected Software | Affected Version | How to fix |
---|---|---|
composer/illuminate/encryption | >=5.6.0<5.6.15 | 5.6.15 |
composer/illuminate/encryption | >=5.5.0<5.5.40 | 5.5.40 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.