News for hackers. Stuff that matters.
Re:URL obfuscation (2002) by 0x0 on Saturday August 12, 2017 @05:11PM (#14999986)
You used to be able to put HTTP basic authentication into the URL in the format http://username:[email protected]/ - modern browsers are removing support for the "username:passord@" part because people would put a legit domain in the username:password@ part to fool users. (i.e., http://cnn.com:[email protected]/ which would actually take you to fakenews.example.com while sending a username of "cnn.com" and a password of "article123456")
Re:URL obfuscation (2002) by mschuster91 on Saturday August 12, 2017 @05:21PM (#15000038)
what? O.o I use this in Keepass to store quick-login links for some that still require http basic auth (though, haven't tested these for a while). Do you have any link on the deprecation?
Re:URL obfuscation (2002) by 0x0 on Saturday August 12, 2017 @05:33PM (#15000117)
Re:URL obfuscation (2002) by jwilk on Saturday August 12, 2017 @06:00PM (#15000255)
> In Firefox, it is checked if the site actually requires authentication and if not, Firefox will warn the user with a prompt "You are about to log in to the site “www.example.com” with the username “username”, but the website does not require authentication. This may be an attempt to trick you.".

Huh, that's just security theater. The phisher could set up a website that does require authentication, thereby avoiding the warning.

The sensible thing to do would be to display the warning if the username contains unescaped dots. (I.e., http://cnn.com:[email protected]/ would provoke warnings, but http://cnn%2Ecom:[email protected]/ would not.)

Re:URL obfuscation (2002) by jchw on Saturday August 12, 2017 @09:10PM (#15000967)
Thinking about this, I think you're right that this is perhaps less useful than billed. If anything though, I'd rather have both warnings.
Re:URL obfuscation (2002) by jaimex2 on Saturday August 12, 2017 @08:48PM (#15000907)
Strange, it still works for me on Chrome on a http site.
Re:URL obfuscation (2002) by theEXTORTCIST on Saturday August 12, 2017 @11:20PM (#15001316)
I just tried this on Chrome 60.0.3112.90. Both Firefox and Safari throw phishing warnings with these URLs.

http://news.ycombinator.com@1572395042 Chrome takes me to 93.184.216.34 no warning

Then I tried http://security.wellsfargo.com@customerLoginv=ar3351RandomDa...

Which stretches way past my laptops viewable URL bar... and it takes me right to badsite.null (or a valid site like example.com). If you need HTTPs you can redirect on badsite.null's web server. Very wild.