News for hackers. Stuff that matters.
Re:How to implement HTTPS in an insufficient manner by csmattryder on Thursday April 04, 2013 @06:20AM (#5491824)
This is the same guy who exposed similar flaws with Tesco's (UK supermarket chain) systems [1].

Why on Earth these companies are given free advice, but think they (or their PR folks) know better is beyond me. Take the advice! You've now got a security flaw, documented, waiting for Joe Hacker to take your customer's data and shoot a hole through your business, and its reputation.

[1] http://www.troyhunt.com/2012/07/lessons-in-website-security-...

Re:How to implement HTTPS in an insufficient manner by nwh on Thursday April 04, 2013 @06:58AM (#5491917)
I emailed my ISP today to ask them why my password was being stored in plain text (and not even escaped) in a MySQL database. Their response was that everything was "working", so I didn't have to worry. Bear in mind, this is a company with my banking details.

I have absolutely no expectation that it is going to be fixed either.

Re:How to implement HTTPS in an insufficient manner by devcpp on Thursday April 04, 2013 @04:22PM (#5495056)
How do you know they do?

That said, you should have seen my face when my ISP emailed me my very password for online access, in plain text. It was something like 123456. Unforgivable double offense.

Re:How to implement HTTPS in an insufficient manner by nwh on Thursday April 04, 2013 @10:23PM (#5496497)
Their tools truncated my changed password to 25 characters silently (first clue), their password reset tool emailed the plaintext password back to me (second clue), and their "api" endpoint errors out when I use special characters in my password (last clue).
Re:How to implement HTTPS in an insufficient manner by WatchDog on Thursday April 04, 2013 @08:34AM (#5492213)
These companies likely have staff that already are acutely aware of the problems. It is sometimes very difficult to change anything from the inside, sometimes you need some negative PR to actually get the ball rolling.
Re:How to implement HTTPS in an insufficient manner by claudius on Thursday April 04, 2013 @07:23AM (#5491999)
Could someone explain to me why storing un(salted/hashed) passwords is such a big thing? Sure, it doesn’t hurt to salt and hash passwords[0], but since users aren’t supposed to reuse passwords anyways, what's the problem in storing 7UgHxJYjkgWDyCa9gsrH rather than db5670ac4a274055e3f785300bec563c48306bf3ab8cb32223a4cd311984a3b4?

[0] And possibly normalise their length/character set, something that comes for free with hashes.

Re:How to implement HTTPS in an insufficient manner by webignition on Thursday April 04, 2013 @07:31AM (#5492024)
Firstly, an attacker with access to your backend database will have full access to user credentials if passwords are not salted and hashed. An attacker can then sign in as any user. The attacker may not be trying to steal all your have and may instead be looking to make life difficult for a single specific user.

Secondly, users will reuse passwords. An attacker with access to the plaintext password and the user's email address can use this to try to gain access to other services.

Thirdly, the attacker in the first example could be a disgruntled employee. You don't want a disgruntled employee causing trouble.

Lastly, I like to protect myself. A user of your services may claim you or your employees are signing in as them. It is convenient to be able to honestly state that this cannot happen.

Re:How to implement HTTPS in an insufficient manner by claudius on Thursday April 04, 2013 @07:37AM (#5492048)
I give you the first three points, though at least the first one sounds a little academic, given that someone with access to the backend database could probably effect queries ‘simulating’ an active user.

However,

> Lastly, I like to protect myself. A user of your services may claim you or your employees are signing in as them. It is convenient to be able to honestly state that this cannot happen.

sounds odd, since the user transmitted their password in clear text to the server at least once when registering, unless you use browser-side hashing/salting, in which case this hash would then take on the role of a password (i.e. wouldn’t help at all). Furthermore, anyone with database access could overwrite the hash in the database, log in with the password matching the new hash and then put the old hash back in place.

Re:How to implement HTTPS in an insufficient manner by csmattryder on Thursday April 04, 2013 @08:14AM (#5492155)
> Furthermore, anyone with database access could overwrite the hash in the database, log in with the password matching the new hash and then put the old hash back in place.

With a salt, it removes all doubt. If an employee has a grudge against one customer, they could take the unsalted pass, and authenticate as that customer, no database transactions; essentially no paper trail.

If that scenario happened on a hashed and salted database, you'd have transactions that X employee changed the salt & hash, then 20 minutes later changed it back. As soon as (CEO/CTO/Mr. Manager) finds that out, X employee is held accountable for their actions.

Re:How to implement HTTPS in an insufficient manner by adamauckland on Thursday April 04, 2013 @04:48PM (#5495225)
I'm guessing you're trolling, but I'll bite...

" given that someone with access to the backend database could probably effect queries ‘simulating’ an active user."

Yes, in shortsightedland. In a company where storing plaintext passwords is normal, it's not too far fetched to think that they are probably backing up and restoring their databases all over the shop.

They only need to lose a laptop on public transport and now they've basically distributed ALL their users common passwords.

Re:How to implement HTTPS in an insufficient manner by RyanMcGreal on Thursday April 04, 2013 @08:02AM (#5492126)
> since users aren’t supposed to reuse passwords anyways

Never design for what people are supposed to do. Design for what people actually do.

Re:How to implement HTTPS in an insufficient manner by EvilTerran on Thursday April 04, 2013 @07:28AM (#5492016)
Users do reuse passwords, even if they shouldn't. Defence in depth.
Re:How to implement HTTPS in an insufficient manner by claudius on Thursday April 04, 2013 @07:32AM (#5492029)
> Defence in depth.

Thanks.

Re:How to implement HTTPS in an insufficient manner by shawabawa3 on Thursday April 04, 2013 @07:49AM (#5492090)
Another point:

If someone has read-only access to the database (e.g. a junior developer) they can do absolutely nothing with a hashed password

Re:How to implement HTTPS in an insufficient manner by trust-me on Thursday April 04, 2013 @09:40AM (#5492551)
Really? Absolutely nothing! Except social engineering would be extremely easy with all that data about a user.
Re:How to implement HTTPS in an insufficient manner by eurleif on Thursday April 04, 2013 @07:26AM (#5492013)
What users do is not necessarily the same as what they should do.
Re:How to implement HTTPS in an insufficient manner by rthomas6 on Thursday April 04, 2013 @03:59PM (#5494887)
Probably the same reason civil engineers design every individual component several times stronger than they need to be. Redundant safety points mean multiple things have to simultaneously fail instead of just one thing.