Full Disclosure mailing list archives

Re: Opera Stored Cross Site Scripting


From: Roberto Suggi <roberto.suggi () security-assessment com>
Date: Thu, 23 Oct 2008 22:27:40 +1300

Hi Avivra,

I have tested your PoC with Opera 9.52 and Opera 9.60 and I needed to tweak your scripts and it works. Good job!

I mostly focused on stealing history and initially I could not find a way to interact with opera:config. But 
apparently, appending the IFRAME to the document DOM with document.body.appendChild is the way.

Cheers,

Roberto

From: avivra [mailto:avivra () gmail com]
Sent: Thursday, 23 October 2008 12:52 p.m.
To: 'Stefano Di Paola'; Roberto Suggi; full-disclosure () lists grok org uk
Subject: Re: [Full-disclosure] Opera Stored Cross Site Scripting

Hi,

Just found a way to use Stefano's opera:config idea to execute code from remote.
Instead of changing the HTTP Proxy, an attacker can change the default external mail application to "\\evil\malware.exe 
", or to local commands (e.g. ftp.exe which can be used to download malicious binaries from remote). Also, there is a 
need to change the "Mail Handler" settings to "2", so opera will execute the external mail application, instead of the 
default opera mail application.
After changing the settings, the attacker can simply set the location to "mailto:"; to execute the code.

A proof-of-concept which executes the Windows Calculator can be found here: 
http://raffon.net/research/opera/history/op.html

Cheers,
--Aviv.
http://aviv.raffon.net


Internal Virus Database is out of date.
Checked by AVG - http://www.avg.com
Version: 8.0.173 / Virus Database: 270.7.6/1711 - Release Date: 6/10/2008 5:37 p.m.
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Current thread: