Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

      Shibboleth Service Provider Security Advisory [17 August 2009]
                              19 August 2009


        AusCERT Security Bulletin Summary

Product:           Shibboleth 2.2
                   Shibboleth 1.3.2 and prior
Publisher:         Shibboleth
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Provide Misleading Information -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2009-2417  

Reference:         ESB-2009.1186

Original Bulletin: 

Comment: This bulletin contains two (2) Shibboleth security advisories.

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

Shibboleth Service Provider Security Advisory [17 August 2009]

Updated versions of the Shibboleth 1.3.x and 2.x Service Provider
software are now available which correct a security issue.

Platforms on which libcurl is an OS-supplied component, such as
Linux or OS X, will also need to ensure their vendor has supplied
an updated curl package to correct a related issue.

Shibboleth SP software improperly handles certificate names
It was recently discovered that a number of public certificate
authorities were willing to issue certificates in response to
requests containing null (0) characters embedded in the subject
or subjectAltName fields. This in turn led to the discovery that
most implementations of SSL/TLS name matching were vulnerable to
a variety of attacks, some extremely serious, when such certificates
are used.

e.g., http://www.theregister.co.uk/2009/07/30/universal_ssl_certificate/

Upon investigation, it was discovered that the Service Provider
software is affected by this issue in two ways:

- - via a dependency on libcurl for SSL server name verification
- - while processing signing certificates against trusted "key names"

The first is a vulnerability in libcurl itself, and has been addressed
by its author in version 7.19.6.


The second is a similar vulnerablity in the Shibboleth code itself.

In both cases, deployments are affected only when relying on the "PKIX"
style of trust validation included in the Shibboleth software. This is
triggered by the absence of explicit certificate information in the SAML
metadata provided to the SP, and the reliance on certificate authorities
found in the <KeyAuthority> metadata extension element.

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

Affected sites using 1.3.x should upgrade to the latest patched release,

Affected sites using 2.x should upgrade to the latest patched release,

Sites that have deployed by building their own copy of libcurl should
ensure that they upgrade to 7.19.6 of that package, or patch older
versions as desired.

Sites that rely on an OS-supplied version of libcurl will need to
contact their OS vendor for a fixed version, or manually build a
new or patched version.

- -------

Thanks to Ian Young for highlighting this issue, and to Daniel Stenberg
for addressing the vulnerability in libcurl.

URL for this Security Advisory:

Shibboleth Service Provider Security Advisory [17 August 2009]

An updated version of the Shibboleth 2.x Service Provider
software is now available which corrects a security issue.

Shibboleth SP software improperly evaluates KeyDescriptors
The Shibboleth software supports the use of SAML metadata to
identify authentication and encryption keys by means of the
<KeyDescriptor> element. In previous versions, the software
was improperly ignoring the "use" attribute and treating all
elements as valid for both signing/TLS and encryption.

In many cases this is a valid assumption, but if specific
keypairs were meant to be used for only one of those purposes,
weaknesses in the intended security of the deployment could

Deployments are affected only when interacting with SAML 2.0-
capable Identity Providers and when their metadata identifies
keys for signing or encryption only, by means of the "use"

This vulnerability does NOT extend to accepting keys that are
not present in the metadata.

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

Sites using 1.3.x are NOT affected by this issue.

Affected sites using 2.x should upgrade to the latest patched release,

The vulnerability is actually found in the supporting libraries,
and if necessary can be corrected by upgrading only the xmltooling
and opensaml libraries to versions 1.2.1 and 2.2.1 respectively.

URL for this Security 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:


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:


Australian Computer Emergency Response Team
The University of Queensland
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.
Comment: https://www.auscert.org.au/1967