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
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2006.0383 -- [VMware] -- Corsaire Security Advisory: VMware ESX Server Cross Site Scripting issue

Date: 02 June 2006

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

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

                         ESB-2006.0383 -- [VMware]
 Corsaire Security Advisory: VMware ESX Server Cross Site Scripting issue
                                2 June 2006

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

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

Product:              VMWare ESX prior to 2.5.2 upgrade patch 2
                      VMware ESX prior to 2.1.2 upgrade patch 6
                      VMware ESX prior to 2.0.1 upgrade patch 6
Publisher:            UNIRAS
Impact:               Cross-site Scripting
Access:               Remote/Unauthenticated
CVE Names:            CVE-2005-3619

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

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 376/06 dated 01.06.06  Time: 16:00  
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------

Title
=====

Corsaire Security Advisory: VMware ESX Server Cross Site Scripting issue

Detail
====== 

- -- Corsaire Security Advisory --

Title: VMware ESX Server Cross Site Scripting issue
Date: 14.11.05
Application: VMware ESX prior to 2.5.2 upgrade patch 2
             VMware ESX prior to 2.1.2 upgrade patch 6
             VMware ESX prior to 2.0.1 upgrade patch 6
Environment: VMware ESX
Author: Stephen de Vries [stephen.de.vries@corsaire.com]
Audience: General distribution
Reference: c051114-002


- -- Scope --

The aim of this document is to clearly define an issue that exists with 
the VMware ESX Server product [1] that will allow a remote attacker to 
inject arbitrary active scripting content, such as JavaScript, into a 
web session.


- -- History --

Discovered: 11.11.05 (Stephen de Vries)
Vendor notified via client: 15.11.05
Vendor notified directly: 19.05.06
Document released: 01.06.06


- -- Overview --

VMware ESX Server is described [1] as virtual infrastructure software 
for partitioning, consolidating and managing servers in mission-critical 
environments. 
 
The software provides a virtualization layer that allows multiple x86 
based operating systems to run on the same hardware concurrently.  The 
ESX Server product differs from other VMware products in that it does 
not require a "host" operating system to be provided by the user.  
Instead, it uses a custom x86 kernel as the host, along with a 
customised Linux operating system as a "console O/S". 
 
VMware ESX Server includes a number of network services and a web 
application, called the "VMware Management Interface" that can be used 
to perform remote administration of the system. 


- -- Analysis --

The VMware ESX Server product provides a web application to perform 
management of the system.  One of the functions of this application is 
to allow administrative users to view log files, such as syslog, through 
a browser.  No encoding of syslog data is performed to ensure that HTML 
meta-characters are not interpreted by the browser.  This allows an 
attacker to inject HTML content, including JavaScript, into the syslog 
file where it would be rendered or executed when viewed through the 
Management Interface.  Since the raw syslog data is displayed between 
<div> tags, it is necessary to close the tag for a clean injection.  Two 
injection methods were detected: 
 
1.  An attacker could simply attempt to log in to the Management 
Interface with a username that contains the injection script, such as: 
 
</div><script>alert('XSS')</script> 
 
2.  An attacker could attempt to log in to the ftp server with a 
username containing a similar injection string. 
 
It should be noted that the ftp server is not enabled by default, 
however, the Management Interface is. 
 
This flaw could be used to conduct any number of Cross Site Scripting 
attacks [2], such as Session Hijacking, Cross Site Request Forgery or 
apparent falsification of the syslog data. 
 
The risk of this vulnerability is increased due to the fact that only 
administrative users have permission to view the syslog files through 
the Management Interface.  Should a Session Hijacking attack be 
successful, it would therefore likely yield administrative access. 


- -- Recommendations --

Upgrade to a version of the VMware ESX product that does not exhibit 
this issue:

VMware ESX 2.5.2 upgrade patch 2 and later
VMware ESX 2.1.2 upgrade patch 6 and later
VMware ESX 2.0.1 upgrade patch 6 and later
 

- -- CVE --

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


- -- References --

[1] http://www.vmware.com/products/esx/ 
[2] http://www.aspectsecurity.com/topten/xss.html


- -- Revision --

a. Initial release.
b. Minor edits.
c. Released.


- -- Distribution --

The information contained within this advisory is supplied "as-is" with 
no warranties or guarantees of fitness of use or otherwise. Corsaire 
accepts no responsibility for any damage caused by the use or misuse of 
this information.


- -- Disclaimer --

The information contained within this advisory is supplied "as-is" with 
no warranties or guarantees of fitness of use or otherwise. Corsaire 
accepts no responsibility for any damage caused by the use or misuse of 
this information.


- -- About Corsaire --

Corsaire are a leading information security consultancy, founded in 1997 
in Guildford, Surrey, UK. Corsaire bring innovation, integrity and 
analytical rigour to every job, which means fast and dramatic security 
performance improvements. Our services centre on the delivery of 
information security planning, assessment, implementation, management 
and vulnerability research. 

A free guide to selecting a security assessment supplier is available at 
http://www.penetration-testing.com 


Copyright 2005-2006 Corsaire Limited. All rights reserved. 

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Corsaire for the information 
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the site of the
original source to ensure that you receive the most current information concerning 
that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>

- --------------------------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

iQCVAwUBRH/JfCh9+71yA2DNAQLLsgP+NnZsUxSx3+KPnDfN3Lz6f488OjKypZJL
dKOo5MTbCddAQPDb4LokTcoTLSf9tRe04rg1jwDTUjaY26kIclfjwxKtanw0Gi6v
S7vPgDe4RFgPFJcOvp28b4fiq2eklyzu0zN8y29ieuswxTawcYjmRlWvTeuxOzQO
jLCH2AGVIfc=
=bdzr
-----END PGP SIGNATURE-----