mailing list archives
iDefense Security Advisory 10.17.06: Opera Software Opera Web Browser URL Parsing Heap Overflow Vulnerability
From: iDefense Labs <labs-no-reply () idefense com>
Date: Tue, 17 Oct 2006 16:08:15 -0400
Opera Software Opera Web Browser URL Parsing Heap Overflow Vulnerability
iDefense Security Advisory 10.17.06
Oct 17, 2006
Opera is a cross-platform web browser. More information is available
Remote exploitation of a heap overflow vulnerability within version 9 of
Opera Software's Opera Web browser could allow an attacker to execute
arbitrary code on the affected host.
A flaw exists within Opera when parsing a tag that contains a URL. A
heap buffer with a constant size of 256 bytes is allocated to store the
URL, and the tag's URL is copied into this buffer without sufficient
bounds checking of its length. The vulnerable code would look something
like this in C/C++:
char *local_url = malloc(256);
This URL can be inserted into any tag, such as an iframe. The range of
characters that can be used to overflow the buffer is limited.
Successful remote exploitation allows an attacker to execute arbitrary
code with the privileges of the logged in user. A failed exploitation
attempt may result in the browser crashing. The attacker would first
need to construct a website containing the malicious tag and trick the
vulnerable user into visiting the site. This would trigger the
vulnerability and allow the code to execute with the privileges of the
The range of characters available does not make this vulnerability
or large compressed image files the attacker can have nearly complete
control of the heap.
iDefense Labs has confirmed Opera versions 9.0 and 9.01 on both Windows
and Linux are vulnerable. Version 8 is not vulnerable.
iDefense is currently unaware of any effective workarounds for this
VI. VENDOR RESPONSE
Opera has addressed this vulnerability with version 9.02 of the Opera
Web Browser. More information can be found in Opera's advisory at
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2006-4819 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
VIII. DISCLOSURE TIMELINE
09/15/2006 Initial vendor notification
09/29/2006 Initial vendor response
10/17/2006 Coordinated public disclosure
The discoverer of this vulnerability wishes to remain anonymous.
Get paid for vulnerability research
Free tools, research and upcoming events
X. LEGAL NOTICES
Copyright © 2006 iDefense, Inc.
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice () idefense com for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/
- iDefense Security Advisory 10.17.06: Opera Software Opera Web Browser URL Parsing Heap Overflow Vulnerability iDefense Labs (Oct 17)