Feeds

NHS heals serious spoof email flaw

XSS flaw opened door to bogus swine flu advice

The essential guide to IT transformation

Updated Cross-site scripting (XSS) vulnerabilities on the National Health Service's website created a means to send spoofed emails with dodgy medical advice. The vulnerabilities, now fixed, also created a potential means to run information-harvesting attacks.

Various security shortcomings on the main nhs.uk website established a means for dodgy sorts to present content of their choosing in the context of the NHS site. The flaws were discovered by Phillip Clarke, a director at a small UK-based software development firm, who began looking into the issue after reading about recent cross-site scripting flaws on the websites of MI5 and the MoD.

Clarke also found similar XSS flaws on the website of the National Institute for Health and Clinical Excellence in the UK (NICE), the organisation that publishes clinical appraisals of medical treatments.

Unhealthy advice risk arose from NHS website security flaw

Unhealthy advice risk arose from NHS website security flaw

Normally XSS flaws, particularly on financial services websites, create a means to launch phishing attacks. In the case of the flaws on the health service websites the implications are even more serious, because they created a mechanism for spreading disinformation about medical emergencies.

"With one mass email [a miscreant] could inform the British public about 'new swine flu guidelines' and do something like tell every patient to ignore the instructions on the bottles of paracetamol and give twice the dosage," Clarke explained, adding that a link inside such an email could be constructed such that it appears to point to advice on the NHS website.

The flaws on both the NHS and NICE website have been cleared up but their appearance in the first place raises serious questions, not least because Clarke had to work with great persistence and diligence for almost a fortnight to get in touch with the relevant people who would listen to his concerns and resolve the problems. In the process he contacted staff at NICE, the SANS Institute, UK CERT and the offices of politicians, among others. "There should be an easy way to contact the website team," Clarke told El Reg.

Frustrated by a lack of progress after sending out numerous emails, Clarke published an advisory on the sla.ckers.org hackers forum here. Clarke was particularly concerned about the issues as his wife is a doctor.

Clarke was eventually directed towards someone at GovCertUK, who helped resolve the problems in co-operation with the NHS's mysterious webmasters. Clarke's requests to contact the webmasters directly were politely refused. Our queries about why the process was so complicated were similarly courteously rebuffed.

GovCertUK (as part of GCHQ) provides an emergency response capability to public sector organisations that may require technical support. Since GovCertUK became aware of this incident it has been working with the relevant teams in the Department of Health and the NHS to remedy the highlighted issues.

GovCertUK cannot comment on why Mr Clarke was not able to contact the NHS Webmaster directly.

A spokesman for Connected for Health said that the reports of the problems with the NHS site were dealt with on the same day they were received. This response ignores Clarke's strained efforts over two weeks just to get in contact with the right person. Wouldn't it be a good idea to have a "report site problems" or contact the webmaster feature, we asked.

We also asked about how the NHS plans to prevent a repetition of this type of problem in future. The spokesman said that technicians monitor the website for any changes and respond quickly when problems arise.

Surely the NHS's website security policy is more proactive than that, once you get into the detail, which hard pressed PR people might not have straight to hand. We asked for a more substantive response and will update this story once it become available.

Security autopsy

Prior to the resolution of the security flaws there were a handful of issues with various pages on NICE's website and two distinct flaws on the main NHS website.

Firstly the section of the website used to personalise the experience didn't filter URLs, a shortcoming that made it possible to draw in script from a third party website. Secondly the 'send a link to a friend' section of the site allowed tainted links to be passed along in mails sent via the NHS site.

Clarke forwarded El Reg a spoofed email in order to validate this concern. He explained that an email from the NHS domain sent to a third party could be rigged to log into an arbitrary website.

He blamed the flaw, now fixed, on a lack of outward-bound filtering. The flaw is unrelated to problems in sending email to people working in the NHS that cropped up earlier this week.

According to XSSed, an archive website that records incidents of cross-site scripting bugs on websites, the latest website security shortcomings of the health service are far from isolated. XSSed records 20 incidents of similar problems on various NHS websites, the earliest of which dates from February 2007. ®

5 things you didn’t know about cloud backup

More from The Register

next story
Munich considers dumping Linux for ... GULP ... Windows!
Give a penguinista a hug, the Outlook's not good for open source's poster child
UK fuzz want PINCODES on ALL mobile phones
Met Police calls for mandatory passwords on all new mobes
e-Borders fiasco: Brits stung for £224m after US IT giant sues UK govt
Defeat to Raytheon branded 'catastrophic result'
EU justice chief blasts Google on 'right to be forgotten'
Don't pretend it's a freedom of speech issue – interim commish
Detroit losing MILLIONS because it buys CHEAP BATTERIES – report
Man at hardware store was right: name brands DO last longer
Snowden on NSA's MonsterMind TERROR: It may trigger cyberwar
Plus: Syria's internet going down? That was a US cock-up
UK government accused of hiding TRUTH about Universal Credit fiasco
'Reset rating keeps secrets on one-dole-to-rule-them-all plan', say MPs
Caught red-handed: UK cops, PCSOs, specials behaving badly… on social media
No Mr Fuzz, don't ask a crime victim to be your pal on Facebook
Yes, but what are your plans if a DRAGON attacks?
Local UK gov outs most ridiculous FoI requests...
This'll end well: US govt says car-to-car jibber-jabber will SAVE lives
Department of Transportation starts cogs turning for another wireless comms standard
prev story

Whitepapers

5 things you didn’t know about cloud backup
IT departments are embracing cloud backup, but there’s a lot you need to know before choosing a service provider. Learn all the critical things you need to know.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Rethinking backup and recovery in the modern data center
Combining intelligence, operational analytics, and automation to enable efficient, data-driven IT organizations using the HP ABR approach.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.