06 January 2009

Application Data Flows by Email

It is very common to find web applications where part of the business process, not just acknowledgements, is undertaken using electronic mail. These processes need to be designed securely and tested as well.

I've mentioned previously in Keep The Emails Coming about testing email alerts used for errors, problems and other unusual conditions, but it's common for email also to be used as a short-cut for developing some parts of business processing.

A recent project I was working on included an link to unsubscribe from marketing emails. Clicking on the link gave a slightly sparse single phrase confirmation—not particularly usable and it didn't validate me in any other way or notify me of the change by anything other than the screen message, but it was probably okay for the type of system.

Partial screen capture showing the words 'You have been successfully unsubscribed' that appeared after clicking on an unsubscribe link

However, within a few minutes I had received another email - an auto-responder:

Partial screen caputure of the email message with nthe subject line 'Your message to Admins requires moderator approval', from 'admins-bounes@...' and stating: Your mail to Admins with the subject A contact has unsubscribed from your list ****** Is being held until the list moderator can review it for approval. The reason it is being held:     Post by non-member to a members-only list   Either the message will get posted to the list, or you will receive notification of the moderator's decision.  If you would like to cancel this posting, please visit the following URL: http://******/mailman/confirm/admins_******/...

Very interesting. What does this tell us?

  • There is an administration mailing list
  • The unsubscribe process sent a message to the administration list with my email address as the sender
  • Posting to the list is restricted to certain people, and thus could be a way to identify administrator's email addresses
  • The list may be using Mailman, the GNU Mailing List Manager
  • The list administration address begins with /mailman/confirm/admins_******/

And, I suppose the implication is my email address has not been removed from the mailing list yet.

If this were a web application penetration test, it might be that some of the mailing list administrative usernames and perhaps passwords are the same as for the web application. Or, content of messages in the list contains useful information to help access the web application. The email responder is sending too much information, and actually this message shouldn't be being sent to a subscriber at all, and the information leakage then stems from using the subscriber's email address as the sender.

So, remember a web application's security is only as good as its weakest link. The security architecture needs to address the whole business process, not just the web page parts.

Posted on: 06 January 2009 at 12:30 hrs

Comments Comments (0) | Permalink | Send Send 

02 January 2009

Mobile Web Application Mania

Happy new year. In a recent edition of a mobile phone provider's newsletter for business customers, it heralded the growth of mobile applications.

Regarding Nokia's purchase of the Symbian mobile operating system and making it free to other mobile manufacturers in an attempt to combat Google's Android mobile phone operating system. The newsletter mentions that an advantage of Android being an open source platform:

... applications can be freely written for it... So just imagine what can be achieved on your next mobile phone when absolutely anybody can design an application for it...

Armageddon perhaps?

Posted on: 02 January 2009 at 09:32 hrs

Comments Comments (0) | Permalink | Send Send 

30 December 2008

Do You Want the Right Answer?

I've just completed one of those web forms people put in front of useful information before giving you access to gather market research data.

This was published by an information security organisation:

Partial screen caputiure of an online form with the question asking the user to 'check all that apply' - the problem is the options are radio buttons so only one can be selected.

I'm afraid I couldn't "check all that apply" since the nice form only had radio buttons and I didn't feel inclined to edit the HTML myself. Would that have been hacking? Other questions on the same form had the same problem. It didn't instil any confidence in me about their design and testing processes.

Data quality is important. Junk data in will lead to junk answers out.

Posted on: 30 December 2008 at 11:18 hrs

Comments Comments (0) | Permalink | Send Send 

26 December 2008

Season's Greetings - You Are Being Watched

I'm thinking about whether to write some posts on my recommendations for logging, monitoring and alerting.

Much as I hate to suggest you need more monitoring, web sites and web applications shouldn't be left alone. So I'll write more about this in the new year.

In the meantime, here's my seasonal card—even Christmas trees have CCTV cameras in them now:

Photograph of decorations on an artificial Christmas tree - there is a bauble-shaped sign saying 'CCTV in operation here'.

Seen in a London shopping centre, early December 2008.

Posted on: 26 December 2008 at 12:28 hrs

Comments Comments (0) | Permalink | Send Send 

23 December 2008

New Site New Terms

E-consultancy.com Limited has completed their site migration to a new domain, a new platform and a new country.

In September I posted a message about moving web hosting offshore in response to the impending E-consultancy site migration.

Partial screen capture showing the top left corner on the new econsultancy.com web site.

Well the move has happened and the new domain is econsultancy.com —the "www" sub-domain and previous hyphenated "e-consultancy.com" domain redirect to the new site. I may have missed something, but as a member and contributor who agreed to the previous terms & conditions, I was expecting hear something before the move occurred.

Some users are required to agree to the new longer terms and conditions before proceeding, yet this seemed to be bypassable in some cases. I didn't have time to investigate the mechanism but noticed I wasn't asked with some browsers/computers and was on others.

Partial screen capture showing the welcome redirect which asks users to agree to the terms & conditions before proceeding.

There's no mention of data protection or privacy issues in the chief executive officer's blog posting about the new Econsultancy site despite all the previous discussion. I'm a little but disappointed to be honest since the web site is such a good resource for ecommerce (or e-commerce) and digital marketing professionals. The CEO does however tell us some of the technologies used—an un-necessary security information leak.

There has clearly been a lot of effort put in, and that's to be congratulated. But the privacy statement has these few words about security:

Screen capture taken from part of the privacy statement page stating 'n order to process and help protect your credit card details, we use SSL (Secure Sockets Layer) to communicate with DataCash, our payment provider. On the Econsultancy site we use best endeavour to safeguard the confidentiality of your personally identifiable information but we do not use encryption (such as SSL) or firewalls to further protect the information as it travels across the Internet. This is because we do not believe that, apart from the credit card information processed by DataCash, the personal information we currently collect warrants such measures and the accompanying loss of speed experienced. You should be aware that

It looks like a mixture of boilerplate text and some additions. But the description and explanation why some security controls were omitted doesn't reflect good practice and is entirely insufficient for a £300,000 revamp of an ecommerce-enabled web site. Let's hope they have some sort of firewall in there somewhere!

I'm left with the feeling that perhaps security wasn't considered much during the re-development process. A missed opportunity.

Posted on: 23 December 2008 at 15:02 hrs

Comments Comments (0) | Permalink | Send Send 

19 December 2008

New OWASP Testing Guide

Version 3 of the Open Web Application Security Project (OWASP) Testing Guide has been released after a 6-month period of addition, enhancement and review.

The OWASP Testing Guide is an ideal reference for both developers and testers—version 2 was fantastic, and this new version is even better. The testing framework now covers 66 controls and, like in the previous version, each control has a brief summary and is described in detail followed by black box (no additional knowledge) and grey/gray box (partial knowledge) testing methods and examples where appropriate.

Partial view of a page from the OWASP Testing Guide V3.0 showing 'Brief summary', 'Description of issue' and 'Black box testing and examples' headings for a control.

The controls and testing methods are fully referenced to provide additional guidance and explanation.

Partial view of a page from the OWASP Testing Guide V3.0 showing 'References - whitepapers' and 'References - tools' headings for a control.

The controls are grouped into ten categories, including new separate categories "Authorization" and "Configuration Management". I'm especially pleased to see the latter broken out on its own, since even a perfectly coded application can have vulnerabilities introduced during deployment and changes to the application.

The OWASP Testing Guide now also includes a "best practice" penetration testing framework and a "low level" penetration testing guide that describes techniques for testing most common web application and web service security issues. More information is available on the Testing Project pages.

Posted on: 19 December 2008 at 09:43 hrs

Comments Comments (0) | Permalink | Send Send 

18 December 2008

Risk and the Payment Card Industry Data Security Standard

Chris Hayes has posted an important reminder of the difference between the risk of non-compliance with the Payment Card Industry (PCI) Data Security Standard (DSS) and the risk of the defects themselves.

Read his Risk and PCI-DSS posting on Risktical Ramblings.

Cotton Traders survived a payment card data breach earlier this year and has gone on to implement tighter controls. It was not clear at the time of the breach whether they were PCI DSS compliant or not.

Partial screen capture of the Privacy and Security page on the Cotton Traders web site which mentions their PCI DSS compliance - taken from http://www.cottontraders.co.uk/ct/info_SecurityStatement.asp

Chris mentions non-compliance with PCI DSS. Not many merchants should seriously consider remaining out of compliance—micro, small and medium sized enterprises in particular may not survive the consequences of a security breach followed by the effects of being found to be non-compliant.

He also refers to the Common Vulnerability Scoring System (CVSS) in his posting. It is quite a complex standardised method for rating information technology (IT) vulnerabilities and you can read his thoughts on CVSS starting at Risk and CVSS (Post 1) which highlights the dangers of applying methodologies and metrics without a full understanding of them and what aspects are being included/excluded.

Posted on: 18 December 2008 at 12:59 hrs

Comments Comments (2) | Permalink | Send Send 

16 December 2008

Accessibility and Security Roundup

For those of you planning new web projects in the new year, here are some pointers for accessibility resources to keep in mind. Accessibility is not a marginal issue—by enabling web site users to interact with your web application without hindrance increases trust, improves the accuracy of information submitted and reduces errors. These are all aspects of software quality.

Accessibility sometimes get lumped in solely with talk of disability. But lack of special aids or adaptions haven't been a significant barrier to internet usage by disabled people. Like everyone else it's cost, lack of skills and confidence. So what should we be doing for all users?

Partial screen capture of a web application log in screen stating the user's browser (the current version of Opera - 9.62) is incompatible and has links to download Internet Explorer, Firefox and Safari.

BSI British Standards is now inviting comments on a new Draft for Public Comment (DPC) BS 8878:2009, the draft standard on accessible websites (registration required). Based on the Publicly Available Specification (PAS) PAS 78:2006 Guide to Good Practice in Commissioning Accessible Websites which will ultimately be withdrawn, the final date for submissions is the end of January 2009 with an aim for the standard to be published in summer 2009. Thankfully, BSI have now published the complete documents in PDF and Word format (no registration required), since the mechanism for reading and providing feedback is an excellent example of an unusable application! The draft standard is summarised by the document's statement:

The goal of any web project should be to create web experiences that are accessible, usable and enjoyable.

I'd add "safe" to the list.

Last week saw the Web Content Accessibility Guidelines 2.0 (WCAG) becoming a full W3C Recommendation. Key reference WCAG 2.0 Documents are:

These aspects are increasingly being highlighted in web project contracts and specifications - and system architects, designers, developers and testers need to know how to build compliant applications. It is important to understand that users won't just be using popular modern web browsers; all sorts of devices will be utilised. The information security shouldn't be less for anyone—regardless of their access method.

One aspect of WCAG 2.0 is maximising compatibility with current and future user agents, including assistive technologies. A related project from the Accessibility Interoperability Alliance (AIA) worth monitoring is concerning Common Keyboard Shortcuts for Accessible Technology (AT) Products Used with Web Browsers along with the Open Web Application Security Project (OWASP) Intrinsic Security Working Group's efforts on introducing more useful security into all web browsers.

Posted on: 16 December 2008 at 12:18 hrs

Comments Comments (0) | Permalink | Send Send 

12 December 2008

Rising Data Protection Act Costs

Recent proposals from the Ministry of Justice in the government's response to the Data Sharing Review suggest the Information Commissioner will receive greater powers and charge more for data protection registration.

Part of the cover from the Ministry of Justice's document showing the title.

As a result of a consultation, the Ministry of Justice has proposed tougher powers for the Information Commissioner including:

  • monetary penalties for deliberate or reckless loss of data
  • after a warrant has been served, require the provision of information required to determine compliance with the Data Protection Act
  • impose a deadline and location for the provision of information necessary to assess compliance.

The ability to determine Data Protection Act compliance could be difficult for many web enabled processes if there are insufficient controls, monitoring and reporting. I've already found the potential compliance issue is a consideration now for current and new web project specifications.

It is also suggested that the current flat rate notification fee is replaced by tiered a fee structure based on size of organisation (similar to the bands defined in the European Union's Recommendation 2003/361/EC regarding the SME definition) so that businesses with more than 250 employees or with a turnover greater than about £26 million will receive the highest charges.

You can read the full proposals in the response document The Information Commissioner's Inspection Powers and Funding Arrangements under the Data Protection Act 1998 and related press release.

Posted on: 12 December 2008 at 07:25 hrs

Comments Comments (0) | Permalink | Send Send 

11 December 2008

Web Browser Security Properties Reference

There's a new resource for web application architects, developers and testers who want to find out more about the security properties of the most common web browsers.

Partial screen capture from the Browser Security Handbook wiki landing page showing the main author's details (Michal Zalewski), release licence terms and conditions (CC-3.0-BY) and the table of contents:  Introduction, Disclaimers and typographical conventions, Part 1 Basic concepts behind web browsers, Part 2 Standard browser security features, Part 3 Experimental and legacy security mechanisms.

A message was posted to the The Web Security Mailing List today highlighting the Browser Security Handbook. I've yet to digest all the information but it seems to be very comprehensive. The web browsers recently tested and reported on are:

  • Microsoft Internet Explorer 6 & 7
  • Mozilla Firefox 2 & 3
  • Apple Safari 3
  • Opera 9
  • Google Chrome
  • Android

The inclusion of test cases in the download is especially helpful. We should thank all the contributors for this excellent live document.

Posted on: 11 December 2008 at 16:41 hrs

Comments Comments (0) | Permalink | Send Send 

More Entries

Web Security, Usability and Design
http://www.clerkendweller.com/

Page http://www.clerkendweller.com/
Requested by 38.103.63.60 on Wednesday, 7 January 2009 at 12:14 hrs (London date/time)

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