[35905] in bugtraq

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

Re: File downloads in Opera at known locations

daemon@ATHENA.MIT.EDU (Josh Tolley)
Sat Jul 31 01:45:13 2004

Message-ID: <410A5C81.7000606@raintreeinc.com>
Date: Fri, 30 Jul 2004 07:34:41 -0700
From: Josh Tolley <josh@raintreeinc.com>
MIME-Version: 1.0
To: Rohit Dube <rohit@kritikalsolutions.com>
Cc: bugtraq@securityfocus.com
In-Reply-To: <000301c47532$7c9bdae0$1432140a@mylaptop>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Rohit Dube wrote:

> Hi,
>  This is just a question. While using opera, I observed that as soon as it
> prompts you for file download, it simultaneously starts the download with
> same file extension in its %USERPROFILE/application data/opera/cache. Even
> if the user afterwards chooses cancel, this temporary file does not get
> deleted. 

There are plenty of vulnerabilities that require you to know the 
location of a file. So if you know the value of %USERPROFILE (which is 
available to things like JScript, isn't it?) and can convince the user 
to download your file, this could probably be exploitable.

I expect Opera's convinced it's not a bug because other browsers seem to 
do the same thing. I haven't done detailed investigation, but both IE 
and Mozilla FireFox seem to begin the download to a temp folder as soon 
as you click the link. I expect it's to make the download take less time 
   from the user's point of view. I've noticed on several occasions that 
whatever progress indicator is used in the browser I'm using, it seems 
to start out not from the beginning, but somewhere in the middle, 
indicating that the browser already began downloading.

Josh Tolley

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