Re:Laravel cookie forgery, decryption, and RCE
by tptacek on Sunday April 20, 2014 @04:26PM
(#7618354)
This is going to sound like empty language-war rhetoric, but: PHP might be the worst mainstream language in which to implement crypto. A crappy type system is one thing, but an unpredictable type system is much worse.
Re:Laravel cookie forgery, decryption, and RCE
by krapp on Sunday April 20, 2014 @05:30PM
(#7618561)
I didn't intend to spread FUD when I posted this - I wasn't aware the equality check was also fixed. I use Laravel in a lot of projects and only saw it posted elsewhere today.
Re:Laravel cookie forgery, decryption, and RCE
by ianhawes on Sunday April 20, 2014 @08:03PM
(#7618974)
Just curious but where did you see this? This was posted last week on /r/php and the Laravel creator stepped in and pointed out that it was patched awhile ago.
Re:Laravel cookie forgery, decryption, and RCE
by iWKtMK on Sunday April 20, 2014 @05:26PM
(#7618547)
I published details of a separate issue on my personal blog (linked in the first paragraph of this article). This is delayed publication of a second set of issues.
Re:Laravel cookie forgery, decryption, and RCE
by iWKtMK on Sunday April 20, 2014 @04:55PM
(#7618447)
All sites were vulnerable to authenticating as other users or tampering with ciphertexts. Error reporting enables the RCE. However, I still hope that nobody is vulnerable or panicking since this was reported and fixed last year.
This is an old bug that was made public and fixed over a year ago [0].
[0] http://www.reddit.com/r/PHP/comments/2332gq/laravel_cookie_f...
re the downvotes: fair enough I guess.