copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2005.0985 -- [Win] -- Trend Micro ServerProtect isaNVWRequest.dll Chunked Overflow

Date: 15 December 2005

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                          ESB-2005.0985 -- [Win]
       Trend Micro ServerProtect isaNVWRequest.dll Chunked Overflow
                             15 December 2005

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           isaNVWRequest.dll 
Publisher:         iDEFENSE
Operating System:  Windows
Impact:            Execute Arbitrary Code/Commands
Access:            Remote/Unauthenticated
CVE Names:         CVE-2005-1929

Original Bulletin: http://www.idefense.com/application/poi/display?id=353

- --------------------------BEGIN INCLUDED TEXT--------------------

Trend Micro ServerProtect isaNVWRequest.dll Chunked Overflow

iDefense Security Advisory 12.14.05
www.idefense.com/application/poi/display?id=353&type=vulnerabilities
December 14, 2005

I. BACKGROUND

Trend Micro Inc.'s ServerProtect provides antivirus scanning with
centralized management of virus outbreaks, scanning, patter file
updates, notifications and remote installations. More information about
the product set is available at:

 www.trendmicro.com/en/products/file-server/sp/evaluate/overview.htm

II. DESCRIPTION

Remote exploitation of a heap overflow in Trend Micro Inc.'s
ServerProtect Management Console allows remote attackers to execute
arbitrary code with the privileges of the underlying web server.

The problem specifically exists within the isaNVWRequest.dll ISAPI
application upon processing of large POST requests with "wrapped" length
values, example:

 POST /ControlManager/cgi-bin/VA/isaNVWRequest.dll HTTP/1.0
 Transfer-Encoding: chunked
 
 80000000
 [ 50,000 bytes or so ]

This example request will create an exploitable heap corruption
providing the attacker with a near arbitrary 4-byte overwrite. By
overwriting the address of a soon to be called function, the attacker
can seize CPU control and eventually execute arbitrary code.

III. ANALYSIS

Successful exploitation of the described issue allows remote attackers
to execute arbitrary code with the privileges of the underlying web
server. Exploitation does not require credentials, thereby exacerbating
the impact of this vulnerability.

IV. DETECTION

iDefense has confirmed the existence of this vulnerability in Trend
Micro ServerProtect for Windows Management Console 5.58 running with
Trend Micro Control Manager 2.5/3.0 and Trend Micro Damage Cleanup
Server 1.1. It is suspected that earlier versions and versions for other
platforms are vulnerable as well.

V. WORKAROUND

Employ firewalls, access control lists or other TCP/UDP restriction
mechanism to limit access to the vulnerable system on the configured
port, generally TCP port 80.

VI. VENDOR RESPONSE

"Trend Micro has recently become aware of a vulnerability related to the
Microsoft Foundation Classes (MFC) static libraries used by Trend Micro
products to create Internet Server Application Programming Interface
(ISAPI) programs for IIS user interfaces. Under certain heavy load
conditions, the MFC ISAPI produces invalid arguments, which can create
an access violation, and thus a denial of service to users. The original
MFC vulnerability was reported and patched in 2002 by Microsoft,
however, in April 2005, Microsoft published new solutions, and vendors
were required to rebuild programs to link to the new library. During
this transition period, manual solutions are available through Trend
Micro technical support for customers wishing to take precautionary
measures, in the unlikely event of an exploit targeted at the MFC
vulnerability.

The potential impact to Trend Micro products is limited to some versions
of InterScan eManager, InterScan Web Protect, OfficeScan, and Control
Manager. Many of these products will be updated in the next version
release.

For now, use the workarounds provided:

Option I: Use the Microsoft URLScan Tool

1. Download any of the following:

Note: The tool prevents a potential thread by rejecting the specified
requests.

 * URLScan 2.5 (for IIS 6.0)
 * IIS Lockdown Tool 2.1 (for IIS 4.0 or 5.0)

2. Run the URLScan tool. The urlscan folder is automatically created in
   the C:\WINDOWS\system32\inetsrv\urlscan directory.

3. Open Windows Explorer and go to the
   C:\WINDOWS\system32\inetsrv\urlscan directory.

4. Find the URLScan.ini file and open with a text editor like Notepad.

5. Find the [AllowExtensions] section and add the following file
   extensions:

   * .exe
   * .ini
   * .dat
   * .asp

6. Find the [DenyHeaders] section and add the transfer-encoding:
   parameter.

7. Find the [Options] section and change the value of
   UseAllowExtensions to "0".

8. Under [DenyExtensions], remove the following file extensions:
   
   * .exe
   * .ini
   * .dat
   * .asp

9. Save the changes and close the file.

10. Stop and start the Web service.

Option II: Change build environments

Trend Micro recommends changing the build environments to Visual C++ 6.0
with Service Pack 6."

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2005-1929 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

06/03/2005 Initial vendor notification
06/05/2005 Initial vendor response
12/14/2005 Public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
http://www.iDefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.iDefense.com

X. LEGAL NOTICES

Copyright © 2005 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,
this information.
_______________________________________________

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQ6DIFCh9+71yA2DNAQKbIgP/b/f3fgDwJBls2dP6xRnNz5qNjeDE/uDz
EWQLdB6RKPTS6qjR7rTGK1J6VCysoUkNAipgVuypOnsl2kALoKSGjkkt7baeEv/u
uJnCdRtxCY66djemyu/OJjvgdqlcy2QYJxZEwH07+vKFmaLTEQKB+07Vjdp8+wUs
bjYEnb0DAkc=
=5zu3
-----END PGP SIGNATURE-----