[39970] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Getting round website authentication with Firefox

daemon@ATHENA.MIT.EDU (Christopher Kunz)
Thu Jul 28 13:13:52 2005

Message-ID: <42E81EDE.5010003@hardened-php.net>
Date: Thu, 28 Jul 2005 01:55:10 +0200
From: Christopher Kunz <christopher.kunz@hardened-php.net>
MIME-Version: 1.0
To: bugtraq@securityfocus.com
In-Reply-To: <20050724235211.29213.qmail@securityfocus.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

account.throw@gmail.com wrote:
> Using firefox's "save target as" feature, you can get round web authentication.
> 
> Make a password protected directory (with a video file inside) (using .htaccess and htpasswd), check that it actully requires a login when you click the link to the video normally, then create a hyperlink to the file, right click save as - oh snap, it doesn't ask for authentication.
> 
> I've only tested it with a video file and Firefox 1.0.6.

Nope. This cannot work, you probably messed up your basic auth settings in 
Apache. If you perform a HEAD /protected/video.avi, you will already see the 401 
header - and there is no way to bypass that with a client.

For the sake of the argument, I actually tried it out - and it doesn't work (of 
course).

I'd suspect that you a) didn't configure the basic auth properly or b) have run 
into the infamous basic auth caching issue (a.k.a. "we can't log out users with 
basic auth").

--ck

home help back first fref pref prev next nref lref last post