GHSA-6wjw-qf87-fv5v Laravel Encrypter Failure to decryption vulnerability
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHPLaravel
Description
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...
}
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| illuminate/encryption(Packagist) | = v5.5.0; = v5.5.2; = v5.5.16; = v5.5.17 +24 more | 5.5.40, 5.6.15 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| illuminate/encryption(Packagist) | >= 5.5.0, < 5.5.40 | 5.5.40 |
| illuminate/encryption(Packagist) | = v5.5.0 | No fix listed |
| illuminate/encryption(Packagist) | = v5.5.16 | No fix listed |
| illuminate/encryption(Packagist) | = v5.5.17 | No fix listed |
| illuminate/encryption(Packagist) | = v5.5.2 | No fix listed |
| illuminate/encryption(Packagist) | = v5.5.28 | No fix listed |
| illuminate/encryption(Packagist) | = v5.5.33 | No fix listed |
| illuminate/encryption(Packagist) | = v5.5.34 | No fix listed |
| illuminate/encryption(Packagist) | = v5.5.35 | No fix listed |
| illuminate/encryption(Packagist) | = v5.5.36 | No fix listed |
| illuminate/encryption(Packagist) | = v5.5.37 | No fix listed |
| illuminate/encryption(Packagist) | = v5.5.39 | No fix listed |
| illuminate/encryption(Packagist) | >= 5.6.0, < 5.6.15 | 5.6.15 |
| illuminate/encryption(Packagist) | = v5.6.0 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.1 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.10 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.11 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.12 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.13 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.14 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.2 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.3 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.4 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.5 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.6 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| illuminate/encryption(Packagist) | = v5.6.7 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.8 | No fix listed |
| illuminate/encryption(Packagist) | = v5.6.9 | No fix listed |
References
- github.com patch
- github.com patch
- github.com
- github.com product
- medium.com
- github.com