Skip to content

Commit 8a12c5f

Browse files
authored
Merge pull request #4421 from amadeann/5.6
typo fix ("inherit to" changed to "inherent to")
2 parents 616c73e + 9980181 commit 8a12c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Laravel 5.6.30 is a security release of Laravel and is recommended as an immedia
1212

1313
### Cookie Serialization
1414

15-
Laravel 5.6.30 disables all serialization / unserialization of cookie values. Since all Laravel cookies are encrypted and signed, cookie values are typically considered safe from client tampering. **However, if your application's encryption key is in the hands of a malicious party, that party could craft cookie values using the encryption key and exploit vulnerabilities inherit to PHP object serialization / unserialization, such as calling arbitary class methods within your application.**
15+
Laravel 5.6.30 disables all serialization / unserialization of cookie values. Since all Laravel cookies are encrypted and signed, cookie values are typically considered safe from client tampering. **However, if your application's encryption key is in the hands of a malicious party, that party could craft cookie values using the encryption key and exploit vulnerabilities inherent to PHP object serialization / unserialization, such as calling arbitary class methods within your application.**
1616

1717
Disabling serialization on all cookie values will invalidate all of your application's sessions and users will need to log into the application again. In addition, any other encrypted cookies your application is setting will have invalid values. For this reason, you may wish to add additional logic to your application to validate that your custom cookie values match an expected list of values you expect; otherwise, you should discard them.
1818

0 commit comments

Comments
 (0)