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

                             CERT-Renater

                 Note d'Information No. 2018/VULN018
_____________________________________________________________________

DATE                : 15/01/2018

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running XMLTooling-C library versions
                           prior to 1.6.3.

=====================================================================
https://shibboleth.net/community/advisories/secadv_20180112.txt
_____________________________________________________________________


Shibboleth Service Provider Security Advisory [12 January 2018]

An updated version of the Shibboleth Project's XMLTooling library is
available which corrects a critical security issue.


Shibboleth SP software vulnerable to forged user attribute data
====================================================================
The Service Provider software relies on a generic XML parser to process
SAML responses and there are limitations in older versions of the parser
that make it impossible to fully disable Document Type Definition (DTD)
processing.

Through addition/manipulation of a DTD, it's possible to make changes
to an XML document that do not break a digital signature but are
mishandled by the SP and its libraries. These manipulations can alter
the user data passed through to applications behind the SP and result
in impersonation attacks and exposure of protected information.

While the use of XML Encryption can serve as a mitigation for this bug,
it may still be possible to construct attacks in such cases, and the SP
does not provide a means to enforce its use.

An updated version of XMLTooling-C (V1.6.3) is available that works
around this specific bug.

While newer versions of the parser are configured by the SP into
disallowing the use of a DTD via an environment variable, this feature
is not present in the parser used on some supported platforms (notably
Red Hat and CentOS 7), so an additional fix is being provided now that
an actual DTD exploit has been identified.

While it is possible to determine whether one is already immune to this
bug, the installation of this patch is a simpler step, and strongly
encouraged. Notably, however "current" Windows installs of V2.6.0 and
later are *not* impacted by the bug, so this patch can be treated as
lower priority on that platform.

This vulnerability has been assigned CVE-2018-0486.

Recommendations
===============
Upgrade to V1.6.3 or later of the XMLTooling-C library and restart the
affected processes (shibd, Apache, etc.)

Linux installations relying on official RPM packages can upgrade to
the latest package versions to obtain the fix.

The MacPort has also been updated.

Windows systems can upgrade to the latest Service Provider release
(V2.6.1.3) which contains the appropriately updated libraries. [1]


Credits
=======
Philip Huppert, RedTeam Pentesting

[1] https://shibboleth.net/downloads/service-provider/2.6.1/

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

==========================================================
+ CERT-RENATER          | tel : 01-53-94-20-44           +
+ 23 - 25 Rue Daviel    | fax : 01-53-94-20-41           +
+ 75013 Paris           | email: cert@support.renater.fr +
==========================================================




