-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2012.0153
           INVENSYS WONDERWARE HMI REPORTS XSS AND WRITE ACCESS
                         VIOLATION VULNERABILITIES
                             13 February 2012

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

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

Product:           Invensys Wonderware HMI Reports
Publisher:         US-CERT
Operating System:  Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Cross-site Scripting            -- Remote with User Interaction
                   Denial of Service               -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2011-4039 CVE-2011-4038 

Original Bulletin: 
   http://www.us-cert.gov/control_systems/pdf/ICSA-12-039-01.pdf

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

ICS-CERT ADVISORY

ICSA-12-039-01 - INVENSYS WONDERWARE HMI REPORTS XSS AND WRITE ACCESS VIOLATION
VULNERABILITIES

February 08, 2012

OVERVIEW

Independent security researchers Billy Rios and Terry McCorkle have identified
cross-site scripting XSS) and write access violation vulnerabilities in the
Invensys Wonderware HMI reports product.

ICS-CERT has coordinated these two vulnerabilities with Invensys, which has
produced a new product version that resolves these reported vulnerabilities.
The researchers have confirmed that the new version resolves these
vulnerabilities.

AFFECTED PRODUCTS

According to Invensys, the following versions are affected:

Wonderware HMI Reports 3.42.835.0304 and prior.

IMPACT

Successful attacks could result in data leakage, denial of service, or remote
code execution.

Impact to individual organizations depends on many factors that are unique to
each organization. ICS-CERT recommends that organizations evaluate the impact
of these vulnerabilities based on their environment, architecture, and product
implementation

BACKGROUND

Wonderware is a brand offering of the Operations Management Division of
Invensys. Invensys Operations Management is a provider of automation and
information technologies and systems. According to Invensys, Wonderware HMI
Reports is deployed across several industries including manufacturing, building
automation, oil and gas, water and wastewater, healthcare, and electric
utilities. Invensys states that these products are used worldwide.

VULNERABILITY CHARACTERIZATION

VULNERABILITY OVERVIEW

CROSS-SITE SCRIPTING

A XSS [a] vulnerability exists in the Invensys Wonderware HMI Reports
application because of a lack of server-side validation of query string
parameter values. Exploitation of this vulnerability requires that a user visit
a specially crafted URL, which injects client-side scripts into the servers
HTTP response to the client.

CVE-2011-4038 [b] been assigned to this vulnerability, which is identical to
ICS-CERT Advisory ICSA-12-024-01 Ocean Data Systems Dream Reports XSS and
Write Access Violation Vulnerabilities. Invensys assessment of the
vulnerabilities using the CVSS Version 2.0 calculator rates a CVSS Base Score
of 6.0.

WRITE ACCESS VIOLATION

A write access violation [c] vulnerability exists in the Invensys Wonderware
HMI Reports application. Exploitation of this vulnerability requires that a
user opens a specially crafted file. This may result in arbitrary code
execution.

CVE-2011-4039 [d] has been assigned to this vulnerability, which is identical
to ICS-CERT Advisory ICSA-12-024-01  Ocean Data Systems Dream Reports XSS and
Write Access Violation Vulnerabilities. Invensys assessment of the
vulnerabilities using the CVSS Version 2.0 calculator rates a CVSS Base Score
of 6.0.

EXPLOITABILITY

The XSS vulnerability is remotely exploitable.

The write access violation is not remotely exploitable and cannot be exploited
without user interaction. The exploit is only triggered when a local user runs
the vulnerable application and loads a malformed file.

EXISTENCE OF EXPLOIT

No known exploits specifically target these vulnerabilities.

DIFFICULTY

An attacker with a low skill level can create the XSS exploit. Social
engineering is required to convince the user to visit a malicious site.
Crafting a working exploit for the access violation vulnerability would be
difficult. Social engineering is required to convince the user to accept the
malformed file. Additional user interaction is needed to load the malformed
file. This decreases the likelihood of a successful exploit.

REFERENCES

a. http://cwe.mitre.org/data/definitions/80.html

b. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4038
NIST uses this advisory to create the CVE website report. This website will be
active sometime after publication of this advisory.

c. http://cwe.mitre.org/data/definitions/119.html

d. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4039
NIST uses this advisory to create the CVE website report. This website will be
active sometime after publication of this advisory.

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

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

iQIVAwUBTzh3pe4yVqjM2NGpAQK75A//S2NUFszbUWY33evAauWb7UU71T7rbf2/
D4ofd+nnMXi88ApQ0Sd6dMs0TcMWMTkuDzOEHUdGaeik/U4zY1YG12tD2cIT+FI9
EgaMQHGPh0TBJYp2ZM7ArUM/xcG3zB804NT36D7c6UFzUDcxbruClo6CYE/VHqmH
ECSzKI0JXo2IkyCGYMqiT7/J005ZSrr5ixzLP5z98jeKS+pxbuNLAqEV5aHTXAar
yPbg4Hr2i2YZHYopgZ6GmRWW40dvHTUrjhNUzb4W+A+yIT0FbxDnJMIkYNQ5Zn5v
t26P/MB4DOgpiGv6tUfqnthzwiFhN4rD1720rek7DQ5cJkcVNh1G+4K2UBxG/2KP
vWFsVAfCVYd4JpG3C8+vaMMUjAAf60UQobmMeTdHGS7BoF1/ZRVCZkasqxK+4eX7
mrlM15kGCH7ZaOyihpveomyFCN9gRO1QpIXebL8jwb0ZLo8g26DNY585UM8vyOlh
Jmr0RSUID3HJDMMv0QyiNVNWUbS1SR2ZRiHE1yevcdo2t00BPFhcBZi6sLu10llQ
NlAvqjvTiNgqDqJ88GHCgEOwVEUO8JC+l8Td+xqVfYMOWuZi1pg2vrQKzjaoq7hd
mfKb9BCdJeVK7RQ26XEqmf0Y/GznKSmuxlQqVYJi+kRSXyqsoHjuyLuiGCbQgws+
Gwmw63XHeuU=
=aXMj
-----END PGP SIGNATURE-----