25 October 2011

Half-Hearted or Half-Baked?

Whilst using a supplier's web site yesterday morning it slowly ground to a halt, and eventually gave up completely.

Partial screen capture showing the stack trace and error message 'Company Admin Error - Unfortunately, your request cannot be processed Unfortunately you do not have the authority to access this page. Please contact your Company Administrator for more information. Error invoking portlet AjaxCompanyAdminInfo'

The web application is very slow normally, but this time parts of the page did not load and it was almost impossible to navigate around after authenticating. Now, difficulty with navigation is not unusual for this site, but this time there was definitely more amiss than the terrible usability.

After a few clicks, page content began to be delivered containing error messages — with full stack traces. Oops. We often ensure that errors are trapped, logged and never displayed to end users during more standard conditions, but this cannot be relied upon during periods of great stress or unusual conditions such as during start-up, severe resource limitation and shut-down. Why continue with half-hearted responses, especially when they start leaking information about the server and application configuration? The user experience is not improved by partial error-ridden content. Stop the responses!

These type of conditions are a good use-case for data egress monitoring such as might be provided by a device like a web application firewall (WAF). Server-side code, file system paths and internal error messages such as stack traces should never, ever, appear in the generated output, so we can confidently block such responses, and raise alerts just in case no-one has noticed the other problems. Plan ahead for failure, and make sure the incident management plan isn't half-baked and includes some automated actions.

Posted on: 25 October 2011 at 08:20 hrs

Comments Comments (2) | Permalink | Send Send | Post to Twitter

Comments

Comments are filtered automatically and should appear shortly after they been checked.

I did a Google search for:
micrositeintegration.filter.micrositeintegrationfilter
so I can make a fair guess who the "supplier's web site" is ....
1 Added by Alexis Posted on 06 November 2011 at 10:13 hrs
That would be error leakage (a.k.a. server misconfiguration) at large.
2 Added by Clerkendweller Posted on 06 November 2011 at 15:01 hrs
Post a comment
Confirm acceptance and understanding of the terms of use
New posts to this thread will be sent to your email address
Half-Hearted or Half-Baked?
http://www.clerkendweller.com/2011/10/25/HalfHearted-or-HalfBaked
ISO/IEC 18004:2006 QR code for http://clerkendweller.com

Page http://www.clerkendweller.com/2011/10/25/HalfHearted-or-HalfBaked
Requested by 38.107.179.221 on Thursday, 17 May 2012 at 22:29 hrs (London date/time)

Please read our terms of use and obtain professional advice before undertaking any actions based on the opinions, suggestions and generic guidance presented here. Your organisation's situation will be unique and all practices and controls need to be assessed with consideration of your own business context.

Terms of use http://www.clerkendweller.com/page/terms
Privacy statement http://www.clerkendweller.com/page/privacy
© 2011-2012 clerkendweller.com