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

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

                               ESB-2012.0976
          A number of vulnerabilities have been identified in IBM
                          Tivoli Directory Server
                              11 October 2012

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

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

Product:           Tivoli Directory Server
Publisher:         IBM
Operating System:  Windows
                   AIX
                   HP-UX
                   Linux variants
                   Solaris
Impact/Access:     Denial of Service   -- Remote/Unauthenticated
                   Unauthorised Access -- Existing Account      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-2203 CVE-2012-2191 CVE-2012-2190

Reference:         ESB-2012.0934
                   ESB-2012.0933
                   ESB-2012.0930
                   ESB-2012.0929
                   ESB-2012.0916
                   ESB-2012.0801
                   ESB-2012.0726

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

Comment: This bulletin contains three (3) IBM security advisories.

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

Security Bulletin: GSKit SSL/TLS Record Length vulnerability in Tivoli
Directory Server (CVE-2012-2191)

Flash (Alert)

Abstract

A vulnerability has been identified in the GSKit component utilized by Tivoli
Directory Server (TDS). A specifically crafted malformed SSL/TLS data packet
can cause the TDS server using GSKit to segmentation fault.. Remediation for
the issue consists of updating GSKit 7 to version 7.0.4.41 or higher, and GSKit
8 to version 8.0.14.22 or higher.
Content

VULNERABILITY DETAILS

CVE ID: CVE-2012-2191

DESCRIPTION:
TDS uses GSKit for SSL/TLS connections. The GSKit implementation of CBC and
AEAD Cipher Suites are vulnerable to an attack from a specifically crafted
malformed SSL/TLS data packet. There are several ciphers supported by TDS that
are included in these Suites. An attacker would need to act as a
man-in-the-middle, intercepting the SSL data stream between any LDAP client
(such as ldapsearch) and a TDS server that was using an affected cipher, and
inject a malformed data packet into the stream. Were an attacker able to do so,
they could cause the TDS server process to crash. The attack does not require
local network access nor does it require authentication, but some degree of
specialized knowledge and techniques are required. An exploit would not impact
the confidentiality of information or the integrity of data, however
accessibility of the system could be compromised.

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

AFFECTED PLATFORMS
 All GSKit 7.0.x.x builds up to and including 7.0.4.40
 All GSKit 8.0.14.x up to and including 8.0.14.21
 All GSKit 8.0.15.x up to and including 8.0.15.3

REMEDIATION:
Tivoli Directory Server versions 6.0, 6.1 or 6.2 using GSKit 7 should update
GSKit to version 7.0.4.41 or later. The following document explains how to
obtain and install updates to GSKit 7 for Tivoli Directory Server:
GSKit V7 - Install, Uninstall and Upgrade instructions for Tivoli Directory
Server

Tivoli Directory Server versions 6.3 using GSKit 8 should update GSKit to
version 8.0.14.22 or later. The following document explains how to obtain and
install updates to GSKit 8 for Tivoli Directory Server:
GSKit V8 - Install, Uninstall and Upgrade instructions for Tivoli Directory
Server

WORKAROUND(S):
No workaround

MITIGATION(S):
No mitigation

REFERENCES:
 Complete CVSS Guide
 CVSS on-line Calculator V2
 X-Force Database
 CVE-2012-2191

RELATED INFORMATION:
 IBM Product Security Incident Response Program
 IBM Tivoli Directory Server Support

Date of Creation/Update 	Summary of Changes
2012/10/04 	created

*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 FOR A
PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY
ACTUAL OR POTENTIAL SECURITY VULNERABILITY.

Product Alias/Synonym

LDAP TDS ITDS IDS GSKit
Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines
Corp., registered in many jurisdictions worldwide. Other product and service
names might be trademarks of IBM or other companies. A current list of IBM
trademarks is available on the Web at "Copyright and trademark information" at
www.ibm.com/legal/copytrade.shtml.

- ------------------------------------------------------------------------------

Security Bulletin: GSKit SSL/TLS handshake vulnerability in Tivoli Directory
Server (CVE-2012-2190)

Flash (Alert)

Abstract

A vulnerability has been identified in the GSKit 7 component utilized by Tivoli
Directory Server (TDS) version 6.0, 6.1 or 6.2. A specifically crafted
malformed SSL/TLS data packet can cause a TDS server using GSKit 7 to
segmentation fault.. Remediation for the issue consists of updating GSKit 7 to
version 7.0.4.40 or higher.
Content

VULNERABILITY DETAILS

CVE ID: CVE-2012-2190

DESCRIPTION:
When a client attempts to establish an SSL/TLS connection, the client and
server negotiate what type of cypher suite to use and whether to trust each
other. This negotiation is called the "handshake". TDS 6.0, 6.1 and 6.2 use
GSKit 7 for SSL/TLS connections. GSKit 7 is vulnerable to an attack from a
specifically crafted malformed SSL/TLS data packet during the handshake. An
attacker would need to send a malformed data packet to the server during the
SSL/TLS handshake negotiation. Were an attacker able to do so, they could cause
the TDS server process to crash. The attack does not require local network
access nor does it require authentication, but some degree of specialized
knowledge and techniques are required. An exploit would not impact the
confidentiality of information or the integrity of data, however accessibility
of the system could be compromised.

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

AFFECTED PLATFORMS
Tivoli Directory Server version 6.2 or earlier for 64-bit platforms excluding
Windows and Solaris-SPARC. The following TDS platforms are vulnerable if they
are not updated to use GSKit 7.0.4.40 or later.

Platform	Bits	Vulnerable	TDS versions
AIX		64  	Yes       	6.0.0*-ITDS-AIX-*
					6.1.0*-ITDS-AIX-*
					6.2.0*-ITDS-AIX-*
HP-UX (IA64)	64	Yes		6.0.0*-ITDS-HPUXIA64-*
					6.1.0*-ITDS-HPUXIA64-*
					6.2.0*-ITDS-HPUXIA64-*
HP-UX (PA-RISC)	64	Yes		6.1.0*-ITDS-HPUXPARISC-*
Linux (x86-64)	64	Yes		6.1.0*-ITDS-LinuxX64-*
					6.2.0*-ITDS-LinuxX64-*
Linux i/p	64	Yes		6.1.0*-ITDS-Linuxip-*
					6.2.0*-ITDS-Linuxip-*
Linux s390	64	Yes		6.1.0*-ITDS-Linuxz-*
					6.2.0*-ITDS-Linuxz-*
Solaris (x86-64)64	Yes		6.0.0*-ITDS-SolarisX64-*
					6.1.0*-ITDS-SolarisX64-*
					6.2.0*-ITDS-SolarisX64-*

The following TDS platforms are NOT vulnerable:

Platform	Bits	Vulnerable	TDS versions
HP-UX (PA-RISC)	32	No		6.0.0*-ITDS-HPUXPARISC-*
Linux (IA32)	32	No		6.0.0*-ITDS-Linux32-*
					6.1.0*-ITDS-Linux32-*
					6.2.0*-ITDS-Linux32-*
Linux i/p	32	No		6.0.0*-ITDS-Linuxip32-*
Linux s390	31	No		6.0.0*-ITDS-Linuxz31-*
Solaris (SPARC)	32	No		6.0.0*-ITDS-SolarisSparc-*
Solaris (SPARC)	64	No		6.1.0*-ITDS-SolarisSparc-*
					6.2.0*-ITDS-SolarisSparc-*
Windows (IA32)	32	No		6.0.0*-ITDS-Win32-*
					6.1.0*-ITDS-Win32-*
					6.2.0*-ITDS-Win32-*
Windows (x86-64)64	No		6.1.0*-ITDS-WinX64-*
					6.2.0*-ITDS-WinX64-*

REMEDIATION:
Tivoli Directory Server versions 6.0, 6.1 or 6.2 using GSKit 7 should update
GSKit to version 7.0.4.40 or later. The following document explains how to
obtain and install updates to GSKit 7 for Tivoli Directory Server:
GSKit V7 - Install, Uninstall and Upgrade instructions for Tivoli Directory
Server

WORKAROUND(S):
The problem can be protected against by setting the following environment
variables in the parent shell before starting Tivoli Directory Server:

    GSK_V3_SIDCACHE_SIZE=0
    GSK_V2_SIDCACHE_SIZE=0


MITIGATION(S):
See "Workaround(s)"

REFERENCES:
 Complete CVSS Guide
 CVSS on-line Calculator V2
 X-Force Database
 CVE-2012-2190

RELATED INFORMATION:
 IBM Product Security Incident Response Program
 IBM Tivoli Directory Server Support

Date of Creation/Update 	Summary of Changes
2012/10/04 	created

*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 FOR A
PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY
ACTUAL OR POTENTIAL SECURITY VULNERABILITY.

Historical Number

XX04507
Product Alias/Synonym

LDAP TDS ITDS IDS GSKit
Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines
Corp., registered in many jurisdictions worldwide. Other product and service
names might be trademarks of IBM or other companies. A current list of IBM
trademarks is available on the Web at "Copyright and trademark information" at
www.ibm.com/legal/copytrade.shtml.

- ------------------------------------------------------------------------------

Security Bulletin: GSKit Trust Anchor vulnerability in Tivoli Directory Server
(CVE-2012-2203)

Flash (Alert)

Abstract

A vulnerability has been identified in the GSKit component utilized by Tivoli
Directory Server (TDS) such that trust anchors can be inserted without
detection. Remediation for the issue consists of updating GSKit 7 to version
7.0.4.41 or higher, and GSKit 8 to version 8.0.14.22 or higher.
Content

VULNERABILITY DETAILS

CVE ID: CVE-2012-2203

DESCRIPTION:
A vulnerability has been discovered with the importing of certificates when a
PKCS#12 file is the source. Such certificates are used in a number of places by
TDS client and server components and the GSKit components used by TDS support
importing PKCS#12 files. The vulnerability exists because trust anchors can be
inserted without detection. Should someone with file level access to the
PKCS#12 source file succeed in adding additional trust anchors prior to the
import, this may result in a successful SSL/TLS connection that would normally
have been rejected due to a missing chain of trust. For example, an attacker
could use a crafted certificate to establish a TLS connection to the TDS server
because the certification authority trust anchor in the TDS server certificate
had been compromised. The attack requires access to the PKCS#12 source file and
sufficient permissions to modify that file. Specialized knowledge and
techniques are required. An exploit would not impact accessibility of the
compromised system, but it could impact the confidentiality of information and
the integrity of data.

CVSS Base Score: 5.8
CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/77280 for the
current score
CVSS Environmental Score*: Undefined
CVSS Vector: (AV:N/AC:M/Au:N/C:P/I:P/A:N)

AFFECTED PLATFORMS
 All GSKit 7.0.x.x builds up to and including 7.0.4.40
 All GSKit 8.0.14.x up to and including 8.0.14.21
 All GSKit 8.0.15.x up to and including 8.0.15.3

REMEDIATION:
Tivoli Directory Server versions 6.0, 6.1 or 6.2 using GSKit 7 should update
GSKit to version 7.0.4.41 or later. The following document explains how to
obtain and install updates to GSKit 7 for Tivoli Directory Server:
GSKit V7 - Install, Uninstall and Upgrade instructions for Tivoli Directory
Server

Tivoli Directory Server versions 6.3 using GSKit 8 should update GSKit to
version 8.0.14.22 or later. The following document explains how to obtain and
install updates to GSKit 8 for Tivoli Directory Server:
GSKit V8 - Install, Uninstall and Upgrade instructions for Tivoli Directory
Server

WORKAROUND(S):
No workaround

MITIGATION(S):
No mitigation

REFERENCES:
 Complete CVSS Guide
 CVSS on-line Calculator V2
 X-Force Database
 CVE-2012-2203

RELATED INFORMATION:
 IBM Product Security Incident Response Program
 IBM Tivoli Directory Server Support

Date of Creation/Update 	Summary of Changes
2012/10/04 	created

*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 FOR A
PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY
ACTUAL OR POTENTIAL SECURITY VULNERABILITY.

Product Alias/Synonym

LDAP TDS ITDS IDS GSKit
Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines
Corp., registered in many jurisdictions worldwide. Other product and service
names might be trademarks of IBM or other companies. A current list of IBM
trademarks is available on the Web at "Copyright and trademark information" at
www.ibm.com/legal/copytrade.shtml.

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

iQIVAwUBUHZVYu4yVqjM2NGpAQKHyg//RNGEPLx5khDyJtjQRpOALUHKlMNBIGGf
qmanNKjZXjmB8ws16h5LBVxvHs49ZPDtmVSKuFUn/cd+XlhgffUznvbg0H8ngmOi
QRNJOVNQQsVKA1VeMMpb5Jr1A6QP4E2srN8852aqWgztWqwtf4DdeOEUassbg59m
QEdQIQ6moBfk+ZkAGuhh2Q4jauRyztNteY8AZWyiV2uYip7V0p+lQhMMy0zoxS/w
JFDr37n1c7+nEwGDvcLrJ4N3ZnHSrtGySyUEL1VkErH0GMSZBxHQg4FRNKf0A6a1
YgwwB3D9kIKHPvH9HGxOcbMuXjMb6YyGPh8vXZykO3TPGJDu0GTR1OFlri2LIhDE
MCUD9DvYqGTmgCQlIqgWX026LymTYvOaksCOaeYKq1Oe8nyt+MzCtnj9QQc2Fdcj
VysR8NKOtLSEfDqbedbEeCiH9CZEZ3Me/C9vLJr9A2ipytvFCpH6qiaRtRudrQDH
N7JymlQdiRJ3M7XtpvNPC1foLrHQPupyQp/v89+djlAXKWphvK8e6KQBh/ZKt0Lk
4d8xr1yCH1mOeUZGqkZVXvVKQh+9rDQhzWXTTi0mSbHSoAiakZuH5EQJQigA9SJX
ddhjozA/TBiqFlOyTo9VTnzz/3ypCd1hIyt3ZADem8EoH2rJsCu/yTDh5/0drrIk
1f62oTrKSl8=
=VPKn
-----END PGP SIGNATURE-----