News for hackers. Stuff that matters.
Re:How I Hacked Facebook’s Secure Files Transfer Service for... by Dylan16807 on Tuesday January 08, 2013 @10:06AM (#5026472)
I like this but what the hell is the problem with base64?

'Still alive these day?'?

It's useful for what it does, always has been, never been a security feature.

Re:How I Hacked Facebook’s Secure Files Transfer Service for... by darkarmani on Tuesday January 08, 2013 @10:24AM (#5026572)
He was paraphrasing: "i didn't think base64 (for encryption) was still alive these days?"

People unfortunately have used it as a security feature in the past.

Re:How I Hacked Facebook’s Secure Files Transfer Service for... by CountHackulus on Tuesday January 08, 2013 @10:15AM (#5026521)
The problem is that they're using it for encryption.
Re:How I Hacked Facebook’s Secure Files Transfer Service for... by Nitramp on Tuesday January 08, 2013 @10:32AM (#5026631)
They are using it to make sure the value doesn't interfere with the syntax of HTTP headers, i.e. for escaping, not for encryption. That's exactly what base64 is for. They simply have no encryption at all.
Re:How I Hacked Facebook’s Secure Files Transfer Service for... by rplnt on Tuesday January 08, 2013 @11:18AM (#5026885)
Can email interfere with HTTP headers though? There's no \r\n, ";" or "=" in valid email.

Anyway, I have seen sites where it was used as a security measure. Or so the authors thought I guess. Storing login password in url parameter? Seems safe if it is encoded.. But it was years ago.

Re:How I Hacked Facebook’s Secure Files Transfer Service for... by hoov on Tuesday January 08, 2013 @11:43AM (#5026993)
Actually, the '=' character is allowed. [1]

[1] http://tools.ietf.org/html/rfc5322#section-3.2.3

Re:How I Hacked Facebook’s Secure Files Transfer Service for... by ddunkin on Tuesday January 08, 2013 @12:49PM (#5027317)
It sounds like you confused encoded with encrypted, encoded is no different than plain-text. The encoding is just to get a valid string for the URI (so a password can contain special URI characters) and is instantly reversible.
Re:How I Hacked Facebook’s Secure Files Transfer Service for... by rplnt on Wednesday January 09, 2013 @03:56AM (#5030769)
No, I haven't. Should have put the "security measure" in the quotes.
Re:How I Hacked Facebook’s Secure Files Transfer Service for... by papsosouid on Tuesday January 08, 2013 @02:33PM (#5027973)
>There's no \r\n, ";" or "=" in valid email.

Both ; and = are perfectly valid.

Re:How I Hacked Facebook’s Secure Files Transfer Service for... by rplnt on Wednesday January 09, 2013 @04:00AM (#5030779)
Did not know that, thanks for pointing that out. In that case the encoding is necessary. On top of that I just found out that even Unicode characters are permitted (RFC 6531).
Re:How I Hacked Facebook’s Secure Files Transfer Service for... by weej on Tuesday January 08, 2013 @01:28PM (#5027562)
Exactly. Initially, I was confused by this statement too.

There's nothing wrong w/ base64 encoding; however, one needs to apply it to the correct context like applying it to: hashes, avoid text collision/escaping chars, or just embedding plain old non-sensitive binary data in text.

Re:How I Hacked Facebook’s Secure Files Transfer Service for... by Sami_Lehtinen on Tuesday January 08, 2013 @02:09PM (#5027807)
This is also used as encyption in many projects. It's incredible and crazy stuff. http://www.codango.com/asp/fnc/review-hot/?id=2303410

It's very easy to Google and see tons of sites using it. Many sites using it got serous security flaws.