Vulnerability Note VU#842160
Microsoft Internet Explorer vulnerable to buffer overflow via FRAME and IFRAME elements
Overview
Microsoft Internet Explorer (IE) contains a buffer overflow vulnerability that can be exploited to execute arbitrary code with the privileges of the user running IE.
Description
A heap buffer overflow vulnerability exists in the way IE handles the SRC and NAME attributes of HTML elements such as FRAME and IFRAME. Publicly available exploit code uses JavaScript to prepare the heap by allocating memory with blocks that consist of NOP slides and shell code. After mishandling overly long SRC and NAME attributes, IE dereferences a memory address that may fall within one of the prepared heap blocks, running through the NOP slide and executing the attacker's shell code. Without the ability to prepare the heap (i.e., without Active scripting), it becomes more difficult for the attacker to execute arbitrary code. Note, however, that an attacker could use techniques other than Active scripting to prepare the heap to more easily execute arbitrary code. It appears that this vulnerability was discovered using the mangleme tool. |
Impact
By convincing a user to view a specially crafted HTML document (e.g., a web page or an HTML email message), an attacker could execute arbitrary code with the privileges of the user. The attacker could also cause IE (or the program using the WebBrowser control) to crash. |
Solution
Apply a Patch |
|
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| Microsoft Corporation | Affected | - | 03 Nov 2004 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
References
- http://www.us-cert.gov/cas/techalerts/TA04-315A.html
- https://www.us-cert.gov/cas/techalerts/TA04-336A.html
- http://www.cert.org/tech_tips/malicious_code_FAQ.html#ie56
- http://www.us-cert.gov/current/current_activity.html#w32/mydoom
- http://www.microsoft.com/technet/security/bulletin/ms04-040.mspx
- http://support.microsoft.com/kb/889293
- http://support.microsoft.com/kb/889669
- http://msdn.microsoft.com/workshop/browser/overview/Overview.asp
- http://support.microsoft.com/kb/154036
- http://freshmeat.net/projects/mangleme/
- http://www.securityfocus.com/archive/1/380175
- http://secunia.com/advisories/12959/
- http://www.auscert.org.au/render.html?it=4527
- http://www.lurhq.com/iframeads.html
- http://www.theregister.co.uk/2004/11/21/register_adserver_attack/
- http://www.sophos.com/virusinfo/articles/howbofrawork.html
Credit
This vulnerability was publicly reported by ned and SkyLined.
This document was written by Art Manion.
Other Information
- CVE IDs: CAN-2004-1050
- Date Public: 02 Nov 2004
- Date First Published: 03 Nov 2004
- Date Last Updated: 10 Dec 2004
- Severity Metric: 63.79
- Document Revision: 40
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.