Feeds

NHS heals serious spoof email flaw

XSS flaw opened door to bogus swine flu advice

Combat fraud and increase customer satisfaction

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. ®

SANS - Survey on application security programs

More from The Register

next story
MtGox chief Karpelès refuses to come to US for g-men's grilling
Bitcoin baron says he needs another lawyer for FinCEN chat
Did a date calculation bug just cost hard-up Co-op Bank £110m?
And just when Brit banking org needs £400m to stay afloat
One year on: diplomatic fail as Chinese APT gangs get back to work
Mandiant says past 12 months shows Beijing won't call off its hackers
Don't let no-hire pact suit witnesses call Steve Jobs a bullyboy, plead Apple and Google
'Irrelevant' character evidence should be excluded – lawyers
EFF: Feds plan to put 52 MILLION FACES into recognition database
System would identify faces as part of biometrics collection
Ex-Tony Blair adviser is new top boss at UK spy-hive GCHQ
Robert Hannigan to replace Sir Iain Lobban in the autumn
Alphadex fires back at British Gas with overcharging allegation
Brit colo outfit says it paid for 347KVA, has been charged for 1940KVA
Jack the RIPA: Blighty cops ignore law, retain innocents' comms data
Prime minister: Nothing to see here, go about your business
Banks slap Olympus with £160 MEEELLION lawsuit
Scandal hit camera maker just can't shake off its past
France bans managers from contacting workers outside business hours
«Email? Mais non ... il est plus tard que six heures du soir!»
prev story

Whitepapers

Designing a defence for mobile apps
In this whitepaper learn the various considerations for defending mobile applications; from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.