Live data from Hacker News

Any Android app can read your WhatsApp database

bas.bosschert.nl

71–80 of 140 posts

Re: Any Android app can read your WhatsApp database

#71
post #67

wait a second...my SD card folder contains a folder called DCIM which includes all my camera photos... are you suggesting that all my images are available to any app that includes SD card permissions?

Yes. There is no way on Android to give fine-grained directory-based access permissions (unfortunately). So all SD card permitted apps can read the SD card globally.

Re: Any Android app can read your WhatsApp database

#75
post #57

One of the great advantages of android is that it permits developers to do things like this. Let's not get upset about it when mistakes happen. Users can always choose a different app if they dislike the behavior.

Of course, it's not so simple - for messaging, you have to use apps that other people use.

Re: Any Android app can read your WhatsApp database

#76
post #36

19bn $. No way anyone else at FB could have built this app and given it away for free for years for that price. No way. Totally worth it. 19bn $. Sequoia's deck on the amazing sclaing of 32 devs supporting that many users? well, guess what, they did it through taking shortcuts. Who would have guessed. Totally flabbergasted.

It's also a highly-simplified backend. No multisession (synchronization is hard), no back-end message history searching (search and graphs are hard). They took a lot of shortcuts, which turned out really well for them. Simplification made for a very fast client and a low-latency, low-bandwidth protocol.

So they have no ability to sniff through my messages on the server? That's not a bug that's a feature for me!

Re: Any Android app can read your WhatsApp database

#77
post #52

Earlier quoted context omitted.

That's why you use TextSecure instead of insecure proprietary "popular" apps. Whatsapp could also use TextSecure's ratcheting protocol, too. Why aren't they? Beats me. Maybe they prefer weaker security for their users.

No it isn't 'prefer'. It's that users don't care about this kind of security in practice, they only care about the kind of security from other people in their personal lives, which is more about privacy controls than actual security. Because of this, they get no reward from the market if they actually focus on security. Instead they focus on things the market DOES reward them for, which is being fast, never being dow…

"They only have 35 engineers, what they could do is limited."

Um, am I the only one that thinks 35 engineers is a pretty good size team to get a good amount of work done?

Re: Any Android app can read your WhatsApp database

#78
post #49

Earlier quoted context omitted.

Storing the key is easy, you put it in your app's private data folder. Which is where the database should have just been stored in the first place, and not on the public SD card. You could also have a user-supplied passphrase with email recovery. Or any of a dozen other best practices that exist. This isn't exactly a new problem, there are plenty of solutions that are far superior to rot13 (which is basically all thi…

>app's private data folder That may be the problem. WhatsApp has focused since the beginning on making their app available on as many devices as possible (They even have symbian compatibiity). My WhatsApp database is almost 500MB, this is more than many low end Android phone's internal memory. Therefore, they decided to store the database on the SD card. I don't think that this should be a problem had they decided to…

Did you read the post? You only need to store the key in private data. A few bytes at most.

Re: Any Android app can read your WhatsApp database

#79
post #20
post #9

Holy shit, the SAME AES key is used for everyone? Good god WhatsApp, what the fuck are you doing?

One might think Facebook did their due diligence and said, "DANG, you got all these users with this big of a hole just laying right out there? Here, have some money."

Haha! But seriously given the leaked chat messages from when Zuckerberg was still not the polished CEO and less mature [1], your argument seems plausible.

  > ZUCK: yea so if you ever need info about anyone at harvard
  > ZUCK: just ask
  > ZUCK: i have over 4000 emails, pictures, addresses, sns
  > FRIEND: what!? how’d you manage that one?
  > ZUCK: people just submitted it
  > ZUCK: i don’t know why
  > ZUCK: they “trust me”
  > ZUCK: dumb fucks

Re: Any Android app can read your WhatsApp database

#80
post #76
post #36

Earlier quoted context omitted.

It's also a highly-simplified backend. No multisession (synchronization is hard), no back-end message history searching (search and graphs are hard). They took a lot of shortcuts, which turned out really well for them. Simplification made for a very fast client and a low-latency, low-bandwidth protocol.

So they have no ability to sniff through my messages on the server? That's not a bug that's a feature for me!

Not exposing a client-facing search service has no bearing on their ability to search through your messages on the server; they most assuredly can search through your messages.
Post reply on HN