Zero-day code execution exploit in IE7 and 8 beta
0-day Internet Explorer “Print Table of Links” Cross-Zone Scripting Vulnerability
By Aviv Raff
Summary
Internet Explorer is prone to a Cross-Zone Scripting vulnerability in its “Print Table of Links” feature. This feature allows users to add to a printed web page an appendix which contains a table of all the links in that webpage.
An attacker can easily add a specially crafted link to a webpage (e.g. at his own website, comments in blogs, social networks, Wikipedia, etc.), so whenever a user will print this webpage with this feature enabled, the attacker will be able to run arbitrary code on the user’s machine (i.e. in order to take control over the machine).
Affected version
Internet Explorer 7.0 and 8.0b on a fully patched Windows XP.
Windows Vista with UAC enabled is partially affected (Information Leakage only).
Earlier versions of Internet Explorer may also be affected.
Technical details
Whenever a user prints a page, Internet Explorer uses a local resource script which generates an new HTML to be printed. This HTML consists of the following elements: Header, webpage body, Footer, and if enabled, also the table of links in the webpage.
While the script takes only the text within the link’s inner data, it does not validate the URL of links, and add it to the HTML as it is. This allows to inject a script that will be executed when the new HTML will be generated.
As I said in a previous post, most of the local resources in Internet Explorer are now running in Internet Zone. Unfortunately, the printing local resource script is running in Local Machine Zone, which means that any injected script can execute arbitrary code on the user’s machine.
Proof of Concept
The following is an example of a URL which executes Windows Calculator:
http://www.google.com/?q=<script defer>new ActiveXObject(“Wscript.Shell”).run(“calc”)</script>
A live proof-of-concept can be found at milw0rm.
Solution / Suggestion
I’ve contacted Microsoft last Tuesday. Their last response was that they are looking at an appropriate fix.
Until a patch is available, I suggest not to use the “print table of links” feature when printing a webpage.
Source: Aviv Raff On.NET
With thanks to Cabal/DSLR for drawing my attention to this 0-day exploit.
Smokey
May 16, 2008 - Posted by Smokey | Advisories, Alerts, General, Malware, News, Security, Vulnerabilities | 0-day, attacker, Cross-Zone Scripting vulnerability, execute arbitrary code, Footer, fully patched Windows XP, Header, html, IE7, IE8.0b, Information Leakage, inject a script, Internet Explorer 7.0 and 8.0 beta, links table, Local Machine Zone, milw0rm, Print Table of Links, printed web page, printing local resource script, Proof of Concept, URL, webpage body, Windows Vista with UAC enabled, Zero-day code execution exploit | No Comments Yet
No comments yet.
Leave a comment
Introduction


.
Welcome to Smokey’s Security Weblog!
Like my board Smokey’s Security Forums, this blog is mainly devoted to Security and all related issues. However, other issues like e.g. major occurances on my forum and social topics will be blogged too.
My forum offer free security and malware related Support, Help, Advice and Education.
As extra service we have a HijackThis & OTL (formerly OTListIt2) Logs Analyzing and Malware Removal/Cleaning Help Forum, full qualified HJT/OTL Analysers/Malware Hunters will be pleased to help you for free to clean your malware infected PC.
We are hosting and maintaining the Official Jetico Inc. Support Forums, including the following products:
- Jetico Personal Firewall V1
- Jetico Personal Firewall V2
- Jetico BestCrypt for Windows
- Jetico BestCrypt for Linux
- Jetico BestCrypt Volume Encryption
- Jetico BCArchive
- Jetico BCWipe for Windows
- Jetico BCWipe for UNIX
Disclaimer: information in this blog can be based on (not confirmed) statements of (anonymous) sources, Smokey’s Security Weblog don’t take any responsabilty for the credibility of these sources and their statements.
The posts/articles in this blog can be supplemented with so called “Possibly related posts” links. Because these links are automatically generated by WordPress.com, Smokey’s Security Weblog have no influence on the links itself and/or content of them. Therefore this Weblog don’t take any responsability for these links and all related issues.
About Copyright and this Blog: it is allowed to reproduce (parts of) posts in this blog if this reproduction is provided with a direct link to the original blog post. It is NOT allowed to copy, use and/or reproduce any image or blog banner.
Blog comments policy: to restrain indecent and off-topic comments and spam, comments are reviewed before publishing. Therefore, delay in comment publishing is unavoidable. Obligatory language of comments is English.
.
Smokey’s Security Forums is Site Member ASAP
Pages
Blogroll
General
Security
Meta
-
My main task
-
Smokey’s Weblog RSS Newsfeed
-
Smokey’s Weblog Google FeedBurner
-
Smokey’s Weblog Email Subscription Request
-
Technorati
-
Recommended: Free network protection with OpenDNS
-
Recommended: Kaspersky Free Online Antivirus Scan
-
Recommended: Free Online Safe Password Generator
-
Advertisement: Buy the #1 ad blocker via Smokey’s
-
Your advertisement here?
-
Your IP and location
-
Top Posts
- Windows Vista / USB device detection problems: How-To-Fix
- Warning: don't use any ESET NOD32 V4.x Antivirus product together with Windows Vista SP2 or Windows Server 2008 SP2
- How to recover a really dead Windows XP (SP2/SP3) TCP/IP stack
- Windows Vista System Update Readiness Tool (KB947821) [April 2008]
- McAfee VirusScan false-positive glitch fells PCs worldwide
- Windows Vista Disappearing System Tray Icons Quick Fix
- Java Anonymous Proxy (JAP): once a Crook, always a Crook?
- Survey 13 Antivirus Rescue CDs: tests, comparision and downloads
- Fatal failures Seagate Barracuda 7200.11, ES.2 SATA, and DiamondMax 22 Drives
- Outbreak of the polymorphic worm Downadup aka Conficker aka Kido
-
Recent Comments
- zed on How to recover a really dead Windows XP (SP2/SP3) TCP/IP stack
- Connected to SecurActive» Blog Archive » Defend yourself against new threats: Conficker, polymorphic worms, 0 day attacks… on Outbreak of the polymorphic worm Downadup aka Conficker aka Kido
- McAfee VirusScan false-positive glitch fells PCs worldwide | Marc’s Blog on McAfee VirusScan false-positive glitch fells PCs worldwide
- Mr Peter Penfold on How to recover a really dead Windows XP (SP2/SP3) TCP/IP stack
- Jeramy on
ESET is Smokey’s Security Weblog 2009 Hall of Shame Awardee
Archives
- July 2009 (2)
- June 2009 (2)
- May 2009 (10)
- April 2009 (6)
- March 2009 (2)
- February 2009 (3)
- January 2009 (7)
- December 2008 (14)
- November 2008 (14)
- October 2008 (8)
- September 2008 (7)
- August 2008 (13)
- July 2008 (14)
- June 2008 (13)
- May 2008 (10)
- April 2008 (31)
- March 2008 (21)
-
Blog Visitor Statistics












