logo

GHSA-7852-w36x-6mf6 laravel/framework

Package

Manager: composer
Name: laravel/framework
Vulnerable Version: >=0 <5.5.40 || >=5.6.0 <5.6.15

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:F/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

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

Metadata

Created: 2024-05-15T22:08:06Z
Modified: 2024-05-15T22:08:06Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-7852-w36x-6mf6/GHSA-7852-w36x-6mf6.json
CWE IDs: ["CWE-1240"]
Alternative ID: N/A
Finding: F052
Auto approve: 1