Users login

Create an account »


Users login

Home » Hacking News » Opera browser Cross Site Scripting

Opera browser Cross Site Scripting

by Nikola Strahija on February 26th, 2003 A vulnerability exists in the way the Opera browser generates a temporary page for displaying a redirection, when "Automatic redirection" is disabled (not default setting).

When Opera generates a page for displaying a redirect, it does not
strip any characters, making it possible to inject malicious script
code into the page generated by the Opera browser. This page has the
same privileges as the domain trying to redirect the user, making it
possible to steal cookies, hi-jack sessions etc. from the domain.

Eg. many websites use a "redirect-script" to redirect users. These
scripts often take arguments without any further validation, because
their only function is to send the user to a new URL. However, when
Opera is set to not automatically redirect a user, Opera will display
this URL on a temporary page without stripping it for malicious code.

2) Affected Software

Following have been tested and found vulnerable:
Opera prior to 7.02 on Windows
Opera 6.x on Linux


3) Severity

Rating: Less critical
Impact: Cross Site Scripting
Where: From Remote

4) Exploit

Sample exploit:

5) Solution

Vendor patch:
Windows: Update to latest version. Opera v7.02 is not vulnerable.
Linux: No update available.

A workaround would be to leave "Automatic redirection" enabled.

6) Time Table

15/02/2003 - Vulnerability discovered
16/02/2003 - Further research
17/02/2003 - Vendor informed
19/02/2003 - Vendor confirmed and fixed vulnerability
26/02/2003 - Vendor released Opera v7.02
26/02/2003 - Public disclosure of vulnerability

7) About Secunia

Secunia collects, validates, assesses and writes advisories regarding
all the latest software vulnerabilities disclosed to the public. These
advisories are gathered in a publicly available database at the
Secunia website:

Secunia offers services to our customers enabling them to receive all
relevant vulnerability information to their specific system

8) Credits

Jakob Balle, Secunia

9) Verification

Please verify this advisory by visiting the Secunia website.

Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »