Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2010.0320 Shibboleth IdP 2.X cross-site request attack 6 April 2010 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: Shibboleth 2 IdP Publisher: The Shibboleth Team Operating System: Windows UNIX variants (UNIX, Linux, OSX) Impact/Access: Cross-site Scripting -- Remote/Unauthenticated Resolution: Mitigation Reference: ESB-2009.1480 Original Bulletin: http://shibboleth.internet2.edu/secadv/secadv_20090224.txt - --------------------------BEGIN INCLUDED TEXT-------------------- Shibboleth IdP 2.X cross-site request attack ================================== All current versions of the Shibboleth 2 IdP are vulnerable to a cross-site attack during certain error conditions. Such attacks could allow attackers to phish credentials, steal active session, or otherwise intercept user/idp communications. Affected Systems =========== All current versions of the Shibboleth 2 IdP. Addressing the Issue =========== Within the Shibboleth IdP distribution bundle (the directory structure created by expanding the downloaded archive from the shibboleth site) edit the file 'src/main/webapp/error.jsp' and remove the following lines (lines 20 - 25 in the default file). <% Throwable error = (Throwable) request.getAttribute(AbstractErrorHandler.ERROR_KEY); if(error != null){ %> <strong>Error Message: <%= error.getMessage() %></strong> <% } %> Then, re-run the installation script (this time answering "no" when asked if you want to overwrite your existing configuration) and restart your Servlet container. All error messages will still be include in the IdP's log file but the simpler error message will not be displayed to the user. Shibboleth IdP 2.2.0 will contain the fix for this issue and allow re-enablement of display error messages. Credits =========== Mike Suvanto, from CSC, for finding the bug - --------------------------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 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: http://www.auscert.org.au/render.html?it=3192 =========================================================================== 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 iD8DBQFLuooN/iFOrG6YcBERAuI2AKC9VPUsv5nfXGQUW6KORiQ47ScLOwCg48EN 12ZxnNvDuNczNVJ0pziKQZs= =MI35 -----END PGP SIGNATURE-----