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

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

                              ESB-2012.0601.2
    Unauthorized File Access Security Vulnerability in DB2 XML Feature
                              22 August 2012

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

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

Product:           IBM DB2
Publisher:         IBM
Operating System:  AIX
                   Linux variants
                   HP-UX
                   Solaris
                   Windows
Impact/Access:     Access Confidential Data -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-0713  

Reference:         ESB-2012.0601

Original Bulletin: 
   http://www-01.ibm.com/support/docview.wss?uid=swg21592556

Revision History:  August 22 2012: Updated document to include V9.5 FP10 download URL
                   June   22 2012: Initial Release

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

Security Bulletin: Unauthorized File Access Security Vulnerability in DB2 XML
Feature (CVE-2012-0713)

Flash (Alert)

Abstract
Vulnerability in IBM DB2 XML Feature could allow a remote attacker to view XML
files owned by the DB2 instance owner.

VULNERABILITY DETAILS
CVE ID: CVE-2012-0713

DESCRIPTION:

The IBM DB2 products listed below contain a security vulnerability in the DB2
XML Feature which could allow a malicious user to remotely exploit and view XML
files owned by the DB2 instance owner. To exploit the vulnerability, the user
would need to have valid security credentials, CONNECT privilege to the
database and be able to execute a specially crafted SQL statement.


CVSS:
CVSS Base Score: 4
CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/73520 for the current
score
CVSS Environmental Score*: Undefined
CVSS String: (AV:N/AC:L/Au:S/C:P/I:N/A:N)


AFFECTED PLATFORMS:

The following IBM DB2 editions running on AIX, Linux, HP, Solaris and Windows:

IBM DB2 9.7 Express Edition
IBM DB2 9.7 Workgroup Server Edition
IBM DB2 9.7 Enterprise Server Edition
IBM DB2 9.7 Advanced Enterprise Server Edition
IBM DB2 Connect 9.7 Application Server Edition 
IBM DB2 Connect 9.7 Enterprise Edition
IBM DB2 Connect 9.7 Unlimited Edition for System i 
IBM DB2 Connect 9.7 Unlimited Edition for System z

IBM DB2 9.5 Express Edition
IBM DB2 9.5 Workgroup Server Edition
IBM DB2 9.5 Enterprise Server Edition
IBM DB2 9.5 Advanced Enterprise Server Edition
IBM DB2 Connect 9.5 Application Server Edition 
IBM DB2 Connect 9.5 Enterprise Edition
IBM DB2 Connect 9.5 Unlimited Edition for System i 
IBM DB2 Connect 9.5 Unlimited Edition for System z

The following IBM V9.8 editions running on AIX and Linux:

IBM DB2 pureScale Feature for Enterprise Server Edition

Note that the vulnerability does not exist in DB2 V9.1.


REMEDIATION: 
There is no workaround but there is mitigation for this vulnerability. Fixes are
available as well.

Mitigation:
To exploit the vulnerability, the user would need to be able to connect to the
database and execute an SQL statement. The exposure can be reduced by revoking
CONNECT privilege from PUBLIC. Use the following command to revoke CONNECT
privilege from PUBLIC:

REVOKE CONNECT ON DATABASE FROM PUBLIC

To obtain more information on the REVOKE database authority command, see the
following:

DB2 V9.8:
http://publib.boulder.ibm.com/infocenter/db2luw/v9r8/topic/com.ibm.db2.luw.sql.ref.doc/doc/r0000981.html

DB2 V9.7:
http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.sql.ref.doc/doc/r0000981.html

DB2 V9.5:
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.sql.ref.doc/doc/r0000981.html


Fix:
The fix for this vulnerability is available for download for DB2 release V9.7
Fix Pack 6 and V9.8 Fix Pack 5.
For V9.5, the fix is planned to be made available in a future fix pack.
For V9.1, the vulnerability is not applicable.

In general, DB2 fix packs can be downloaded from the following site:
http://www.ibm.com/support/docview.wss?uid=swg27007053.

You may download the specific fix pack you need from the following:

Release		APAR	Download URL
V9.5 FP10	IC81461	http://www.ibm.com/support/docview.wss?uid=swg24033308
V9.7 FP6	IC81462	http://www.ibm.com/support/docview.wss?uid=swg24032754
V9.8 FP5	IC81839	http://www.ibm.com/support/docview.wss?uid=swg24032798

A special build with the interim fix will be made available for DB2 V9.5 FP9.
Please contact your service representative to obtain the special build and
reference the APAR number for the release you want:

Contact Technical Support:
In the United States and Canada dial 1-800-IBM-SERV 
View the support contacts for other countries outside of the United States. 
Electronically open a Service Request with DB2 Technical Support.

REFERENCES:
	Complete CVSS Guide
	On-line Calculator V2 
	X-Force Vulnerability Database
	CVE-2012-0713

*The CVSS Environment Score is customer environment specific and will ultimately
impact the Overall CVSS Score. Customers can evaluate the impact of this
vulnerability in their environments by accessing the links in the Reference
section of this Flash.

Note: According to the Forum of Incident Response and Security Teams (FIRST),
the Common Vulnerability Scoring System (CVSS) is an "industry open standard
designed to convey vulnerability severity and help to determine urgency and
priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF
ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS

Note: IBMs statements regarding its plans, directions, and intent are subject to
change or withdrawal without notice at IBMs sole discretion. Information
regarding potential future products is intended to outline our general product
direction and it should not be relied on in making a purchasing decision. The
information mentioned regarding potential future products is not a commitment,
promise, or legal obligation to deliver any material, code or functionality.
Information about potential future products may not be incorporated into any
contract. The development, release, and timing of any future features or
functionality described for our products remains at our sole discretion.

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

iQIVAwUBUDSAvO4yVqjM2NGpAQLLQw//RDeOFz1V/e4Atgud99ivz0AOOsRTVu1S
3+ID7mvrK2+d/eYZDbpKLIfq+jxNA0whM+iastipBSdktdHA3zffbV9uYfRi7ozz
XpQTIID94i/Hrsh4v/a53AJGQbR9TtYhtqDujaFTOwDoBtIlu6MsbxfBQlC3X7hI
X0T0p5htgCG0KBnfoHeoK+iSVrDM279wUCbSWzulk0yMw4o4oq31VWzkEQNGijoo
lfZV7StGLWI0SQYCnjmQnMOpjjKuEFB8jfDd5mfh7Kx80sQVQIDWMrOo75j/V/yG
9rbGYXBP90yJG/gSizkbi+T6Xtk1v/Nt5RBORsW4z/fjiTsZdcAy0WWXiq4IFjVr
qF9w788AJqw1ahqbuJ+TVLoBa9Xzkbo3dCpazkPlw2Bp1GJNeEjlnZDBlLM9Udc9
izp1D9FrgGZP+sp6jj610h5wHvcne1yQ0QTlEEDip9OTtKO7C2htt9pa8xbdYrTw
yRP2yHaMzCChoErmaKHexTpkcwX7FlOkDZFjsUh390UA7PYuVNjItMETdAVYH1Fu
Ry8ENTCPgUcATlNqe3y7MSuF8wctoccVKFKacRj/Wpu8/QQJVRYWUwBqx6FR5eBi
wKDPGhC3lmQWO4S6qqA5MkqYjd2Ra4uopiGTg8uS8yKvpfxeepM/jKDkPH5UYIjX
d/VfYWhzoyM=
=VWjp
-----END PGP SIGNATURE-----