News for hackers. Stuff that matters.
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 eksith on Sunday April 20, 2014 @04:35PM (#7618384)
The enemy of any crypto is naïve assumption. That's not unique to PHP, but I agree, the type system can make it worse.
Re:Laravel cookie forgery, decryption, and RCE by adamors on Sunday April 20, 2014 @05:08PM (#7618493)
As usual, HN only cares about PHP when there's some FUD to spread.

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: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 the downvotes: fair enough I guess.

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 krapp on Sunday April 20, 2014 @08:06PM (#7618981)
A php group on linkedin. Probably posted from /r/php but I haven't been there in a while.
Re:Laravel cookie forgery, decryption, and RCE by laravel on Sunday April 20, 2014 @04:43PM (#7618414)
This bug was publicly disclosed and fixed over a year ago.
Re:Laravel cookie forgery, decryption, and RCE by danpalmer on Sunday April 20, 2014 @05:16PM (#7618514)
Was that disclosed by MWR? It might just be delayed publication on their blog.
Re:Laravel cookie forgery, decryption, and RCE by laravel on Sunday April 20, 2014 @05:17PM (#7618516)
No, Jon Cave first disclosed it on his personal blog.
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 cbg0 on Sunday April 20, 2014 @04:36PM (#7618393)
Only sites which have error reporting enabled are vulnerable, so no need to panic unless you're displaying errors in production.
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.