Original issue date: July 14, 2003<br>
Last revised: --<br>
Source: CERT/CC<br>

<p>
A complete revision history is at the end of this file.
</p>

<br>
<h3>Systems Affected</h3>
<ul>

<li>Windows 98 and 98 Second Edition (SE)
</li>
<li>Windows NT 4.0 and 4.0 Terminal Server Edition (TSE)
</li>
<li>Windows Millennium Edition (Me)
</li>
<li>Windows 2000
</li>
<li>Windows XP
</li>
<li>Windows Server 2003
</li>
</ul>

<br>
<h2>Overview</h2>
<p>
A buffer overflow vulnerability exists in a shared HTML conversion
library included in Microsoft Windows.  An attacker could exploit this
vulnerability to execute arbitrary code or cause a denial of service.
</p>

<br>
<h2>I. Description</h2>
<p>
Microsoft Windows includes a shared HTML conversion library (<font
face="courier">html32.cnv</font>).  According to Microsoft Security
Bulletin <a
href="http://microsoft.com/technet/security/bulletin/MS03-023.asp">MS03-023</a>,
"The HTML converter is an extension which allows applications to
convert HTML data into Rich Text Format (RTF) while maintaining the
formatting and structure of the data as well as the text.  The
converter also supports the conversion of RTF data into HTML."
</p>
<p>
The HTML conversion library contains a buffer overflow vulnerability
that can be triggered by a specially crafted <i>align</i> attribute in
an &lt;HR&gt; element.  The library can be loaded by any application
on the system.  For example, Internet Explorer (IE) uses the library
to handle HTML data stored in the clipboard.  Using script, an
attacker can cause IE to copy a crafted &lt;HR&gt; element into the
clipboard and load the library.  The attacker could accomplish this by
convincing a victim to view an HTML web page or HTML email message
with IE, Outlook, or Outlook Express in a zone where <i>Active
scripting</i> and <i>Allow paste operations via script</i> are
enabled.
</p>
<p>
This vulnerability is not limited to IE, Outlook, or Outlook Express.
Any program, including non-Microsoft applications, can
use the vulnerable library and may present other vectors of attack.
</p>
<p>
Further information is available in <a href="http://www.kb.cert.org/vuls/id/823260">VU#823260</a>. Common Vulnerabilities and Exposures (<a href="http://cve.mitre.org/">CVE</a>) refers to this issue as <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0469">CAN-2003-0469</a>.
</p>

<br>
<h2>II. Impact</h2>
<p>
An attacker could execute arbitrary code with the privileges of the
process that loaded the HTML conversion library.  The attacker could
also crash the process, causing a denial of service.
</p>

<br>
<h2>III. Solution</h2>

<h4>Apply a patch</h4>
<p>
Apply the appropriate patch as specified by <a href="http://microsoft.com/technet/security/bulletin/MS03-023.asp">Microsoft Security Bulletin MS03-023</a>.
</p>

<h4>Modify Internet Explorer security zone configuration</h4>
<p>
Modify one or both of the following IE security zone settings in the Internet zone
and the zone(s) used by Outlook, Outlook Express, and any other
application that uses Internet Explorer or the WebBrowser ActiveX
control to render HTML:
</p>
<ul>
<li>
Set <i>Allow paste operations via script</i> to <i>Disable</i>
</li>
<br>
<li>
Set <i>Active scripting</i> to <i>Disable</i>
</li>
</ul>
Either of these changes will prevent attacks that depend on scripting
in the IE HTML rendering engine.  However, these changes are not
complete solutions, and they do not prevent attacks that use other
vectors.
</p>
<p>
Note that disabling <i>Active scripting</i> provides defense against
other attacks that are outside the scope of this document.
</p>
<p>
Instructions for modifying IE 5 security zone settings can be found in
the <a
href="http://www.cert.org/tech_tips/malicious_code_FAQ.html#steps">CERT/CC
Malicious Web Scripts FAQ</a>.  In IE 6, the <i>High</i> security zone
setting includes both of these changes.
</p>

<br>
<a name="vendors"></a>
<h2>Appendix A.  Vendor Information</h2>

<p>
This appendix contains information provided by vendors.  When vendors
report new information, this section is updated and the changes are
noted in the revision history.  If a vendor is not listed below, we
have not received their comments.
</p>

<a name="microsoft">
<h4><a href="http://www.microsoft.com/">Microsoft</a></h4>
<blockquote>
<p>
Please see <a href="http://microsoft.com/technet/security/bulletin/MS03-023.asp">Microsoft Security Bulletin MS03-023</a>.
</p>
</blockquote>
<!-- end vendor -->

<br>
<a name="references"></a>
<h2>Appendix B.  References</h2>
<ul>
<li>CERT/CC Vulnerability Note VU#823260 - <a href="http://www.kb.cert.org/vuls/id/823260">http://www.kb.cert.org/vuls/id/823260</a></li>
<li>Microsoft Security Bulletin MS03-023 - <a href="http://microsoft.com/technet/security/bulletin/MS03-023.asp">http://microsoft.com/technet/security/bulletin/MS03-023.asp</a></li>
</ul>

<hr noshade>
<p>
This vulnerability was <a href="http://www.securityfocus.com/archive/1/326395">publicly reported</a> by Digital Scream</a>.
</p>
<hr noshade>
<p>
Feedback can be directed to the author, <a href="mailto:cert@cert.org?subject=CA-2003-14%20VU%23823260%20Feedback">Art Manion</a>.
</p>

<!--#include virtual="/include/footer_nocopyright2.html" -->

<p>Copyright 2003 Carnegie Mellon University.</p>

<p>Revision History
<p>
<small>
July 14, 2003:  Initial release
</small>
</p>