Thursday, October 23, 2008

Opera 9.52/9.60 Remote Code Execution Zeroday PoC

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

No comments:

Post a Comment