ESB-2018.1503 - ALERT [Win][UNIX/Linux] Shibboleth IdP: Multiple vulnerabilities 2018-05-17

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

                               ESB-2018.1503
   Shibboleth IdP vulnerable to information disclosure via CAS protocol
                                17 May 2018

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

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

Product:           Shibboleth IdP
Publisher:         Shibboleth
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Increased Privileges           -- Existing Account
                   Provide Misleading Information -- Existing Account
                   Access Confidential Data       -- Existing Account
Resolution:        Patch/Upgrade

Original Bulletin: 
   https://shibboleth.net/community/advisories/secadv_20180516.txt

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Shibboleth Identity Provider Security Advisory [16 May 2018]

Shibboleth IdP vulnerable to information disclosure via CAS protocol
====================================================================
The CAS protocol uses a weak process for seeding the random number generator
used to generate ticket identifiers, which creates a risk of issuing duplicate
ticket identifiers in some cases. The vulnerability exclusively affects the
SimpleTicketService component that was the default prior to version 3.3.0;
only deployments using this component are affected. Version 3.3.0 and later
shipped with a new component, EncodingTicketService, enabled by default.
Deployers that upgraded from a 3.x version to 3.3.0 or better and did NOT
modify CAS configuration are affected because default component preferences
are not modified on minor upgrades.

Duplicate tickets have been observed in situ under synthetic load, so we
expect that it is generally practical to exercise the vulnerability. In
general, where N tickets are issued with the same identifier, there is a
(N-1)/N chance that the ticket will be dereferenced into the principal of the
wrong user, leading to information disclosure and impersonation risk.

Recommendations
===============
Review the following configuration file to determine whether you are using the
affected component, SimpleTicketService: [1]

conf/cas-protocol.xml

If true, take one of the following actions:

1. Upgrade to version 3.3.3 of the Shibboleth Identity Provider.
2. Switch from SimpleTicketService to EncodingTicketService. [1]

Please note that some CAS clients are not compatible with the identifiers
produced by EncodingTicketService, notably current versions of mod_auth_cas
(1.1) and phpCAS (1.3.5). It appears that the next version of phpCAS (1.3.6)
will be compatible. [2]

References
==========
[1] https://wiki.shibboleth.net/confluence/x/pgIUAQ
[2] https://github.com/apereo/phpCAS/issues/248

URL for this Security Advisory:
https://shibboleth.net/community/advisories/secadv_20180516.txt

Credits
=======
John Morton, Cal Poly
Marvin S Addison, Virginia Tech

- -----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEeW1wyJu/jZWJJfLtJ37IagfO64sFAlr7im0ACgkQJ37IagfO
64s/zA/+LP4TY/vfj20i57qTFHkeI471Y76A6WqWUk012S/AbqbLonj48IZrYqHY
6mj+WEoJqgQ1JxY0WzUeGGN2iUzEU0wHM3teKErT47GSkCf3RDzgVcLfOOZqp/2+
KUgSDr1+PvJlwxzH/0WCTfny9IIO43tKbqpqUKJEXRt+JGKXzzx97UHBeXwKCz2N
s1aYL43ytQqxexhcTi/pqfbGRaVrv8GxR65rOvyNmOtGmGwrF5HPK1KtKncmk3Ee
quYJINAFdFnui1jRTsrqJdweQGt8C8dCGp8glKBKW3RHQ9gdYT1PQgpaNNksYlRH
DQ6M12htCYtSkhrOYHhfpPJ61/Crvkmspz2uB0qPTn9PNWxug2UJvLLwN4wEhsUJ
LbA/1oy99VtD5Zc97m+JkKTjZgtwdnEONG7z5c4/AFm4LfCRmxWi1RfODYDvXb50
KkoRFff108p015VhhO2//2QJBL0UICMWk6AU4GMb5hZXUyRzZ0d5YjV/4UWf5wsY
m8yknRZVZVBE/q7o3rHGtFYFvGZvGvTL1IGM5CHjxRJojjXVSdSPjHFRqkD0W4ja
l6aaBxI52RSDNe18BBjpSrRFvd+0CmiqedHW+0U1oPeFacsnABpIo6TWJ2heKSuv
pdXcxJPTZdhHeW712WMzKYuKm9A9ZGs4fXgqIh0314R1PhIH0aI=
=Lq/Y
- -----END PGP SIGNATURE-----

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

        https://www.auscert.org.au/bulletins/

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

iQIVAwUBWvzD3Yx+lLeg9Ub1AQhjng//afGs3UIScHCRyqD5M3rsjLcmnj4Oqls8
eJN6vEMglEbkjcs4OQqPsbHRWdms0r30LL++E091PmzlqH3iKOJaerL2TCLP+sQ9
+XnO/ZechdEt/+QuavpY5VHauV5wYmENgfdPrSRKb2TM/JmtP+oPy6IltS+vJuEm
UGGX23aY3Bgv5Luq5Sag8a9+iw3NPy+lLE9SEUpO+pKApZuF1i9tkI5ZB/LLvm6A
+w60C0+laN5gi4uKyhbMPCaXGQL+3CHHsR0OmK4OXMPo5LKNmr2pyrD8ocypZ/RZ
HzX4ZH6UgxHP8kfQuVyHJUnbuFwxfDtvha3uy54YABv3VCUu4Ve7cuZ+VXRckt30
1Z5CbU0cByY0TBA0k+YVCnMp1a1aN3cQTiskz0vihzLp80XkkH+DQLsFGgdeXELz
8F5LekcrZNSSaFDYmaWTNmpvEP5WYvLplI1A2Mt9DzZZV//1nL1J91ebnNd29Xjy
OQ4V9z3XR6IyFtn7SGEpU/eWMdCBOeqei2+Ox+vTcWo1q/31xnKUpBXk5ce/zKIV
RRVp4o7QZBn0azmvzm2Z0M4xkkWyk7KZGOztXbfbl6T3OE9AFR76694JFX9sEBqk
rC3CeQ45J2M+vyATu/H1rp6A60kaHpXWs7jYmkuG0rgmBqeQLt7R0ONZio71JuBg
myo5+wCii08=
=5EnK
-----END PGP SIGNATURE-----

« Back to bulletins