Re:Login Forms Over HTTPS, Please
by ajanuary on Friday January 29, 2016 @12:00PM
(#10996413)
That's not the half of it - if you knew what that cookie contained…
[ Parent
| on HN ]
Like... login and cleartext password, to lookup your profile on each request?
$sql = "select * from user where username='".$_COOKIE['username']."'";
Came across this last year... have seen variations of it over the last 15+ years, but saw it in 'new' code last summer. :/