
Laravel 5.6.15 and 5.5.40 is released with a security patch
The Laravel team has just released v5.6.15 and v5.5.40 and both include a security update so it’s recommended that everyone upgrade. In Taylor’s announcement he mentions the root cause:
Yesterday, Felix Wiedemann alerted me to 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:
$decyptedValue = decrypt($secret);
if ($decryptedValue == '') {
// Code is run even though decrypted value is false...
}
In these new releases, the underlying code has been changed to force the Encrypter to throw an exception when this occurs.
Enjoy this? Get Laravel News delivered straight to your inbox every Sunday.
No Spam, ever. We'll never share your email address and you can opt out at any time.
Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.
Laravel Jobs

- PHP Web Developer
-
Orlando, FL
Christ for all Nations - PHP Developer
-
Manhattan, KS (open to Remote)
CivicPlus - Mid-Senior Laravel Developer
-
Exeter
Optix Solutions - Full Stack Web Developer
-
Las Vegas, NV
V Shred - Staff Software Engineer (Laravel)
-
Remote
smartbnb - Software Engineer (PHP, Laravel, Vue)
-
Los Angeles, CA
Relocity - Software Engineer Level 1 / Level 2
-
St. Pete. / Tampa Area, FL / Remote
ShineOn
Laravel Route Tips to Improve Your Routing
The Laravel router has a great, well-polished API when you first dive into Laravel as a beginner or newcomer to the f…
Laravel Log Enhancer Package
The Laravel Log Enhancer is a package for Laravel 5.6 adds additional data to your Laravel logs. Thanks to Laravel…