Security concerns with Identity Server error messages on browser reproting stack dump

  • 7012495
  • 28-May-2013
  • 28-May-2013


NetIQ Access Manager 3.2
NetIQ Access Manager 3.2 Support Pack 1 applied
NetIQ Access Manager 3.2 Identity Server
NetIQ Access Manager 3.2 ACcess Gateway


Whenever the IDP server reports a 500 internal error due to an invalid input, the stack dump of the reason for failure is included in the response and visible on the browser. Unethical users can use this information to build additional attacks against the IDP/ESP.

For example, if I add "%2b" at end of argument of IssueInstant (IssueInstant Spoofing) of the following URL, a 500 Internal Server Error will be reported.

Looking at the contents of the response, we include the stack dump
java.lang.StringIndexOutOfBoundsException: String index out of range: 23 java.lang.String.substring( com.novell.nidp.common.xml.w3c.XMLDateTime.xmlDecodeTimeDateString(y:1116) com.novell.nidp.saml.core.protocol.SAMLPAbsRequest.<init>(y:3110)
com.novell.nidp.liberty.idff.protocol.LibertyAuthnRequest.<init>(y:1482) com.novell.nidp.liberty.idff.profile.LibertySSOProfile.getRequest(y:2286) com.novell.nidp.liberty.idff.profile.LibertyProfile.handledInBoundRequest(y:3044) com.novell.nidp.liberty.idff.profile.LibertySSOProfile.processSSOEndpoint(y:2238) com.novell.nidp.liberty.IDFFHandler.E(y:642)
com.novell.nidp.liberty.IDFFHandler.handleRequest(y:1524) com.novell.nidp.liberty.LibertyMeDescriptor.handleRequest(y:2838)
javax.servlet.http.HttpServlet.service( com.novell.emframe.fw.filter.CrossScriptingFilter.doFilter(

The Identity Server should not be giving any hints as to why the failure occured to the user-agent.


Modify the Identity Server web.xml file webapp web.xml (/opt/novell/nids/lib/webapp/WEB-INF/web.xml) and include the following statement so that the IDP server will not give any hint to user/browser.



The index.html can be any custom page too.

This can also be configured for the 404 error-code too by adding one more <error-page> tag with 404 in it.