Flaws leave sites exposed

Many Web sites remain vulnerable to cross-site scripting attacks

Roger Howorth, IT Week

Despite a string of warnings, high-profile Web sites remain vulnerable to damaging attacks by hackers who create pages designed to look as if they have been published by trusted sources.

The flaws, classed as code insertion or cross-site scripting vulnerabilities, have already been used to steal cookies and credit card numbers. In one case, a hacker published a bogus press release describing financial difficulties at computer storage firm Emulex. The release was reported by news agencies including Bloomberg, causing a sharp fall in Emulex's share price.

Advertisement

Despite a warning six months ago, IT Week has discovered that many leading sites, including that of the Washington Post, remain vulnerable. Last week we were able to create a URL beginning with www.washingtonpost.com that linked to an arbitrary story on another site, the result appearing to be a legitimate part of the newspaper's Web site. The newspaper failed to return calls requesting comment.

This type of flaw has been exploited by hackers who use email messages or Internet chatrooms to distribute URLs pointing to pages displayed via vulnerable Web sites.

The URL begins with the site's correct address, but also includes scripting code, such as JavaScript. The resulting page combines data from both the vulnerable site and from a site of the hacker's choosing.

Vulnerabilities are caused by poor Web site design, allowing hackers to insert scripting commands into Web pages, and by lax security settings in browsers. Although the Cert security Web site documents the flaw and explains how to tackle it, most Web sites are still not secure. "I can't think of a single Web site that we have checked in the past year that was not vulnerable," said Gunter Ollmann of security firm Internet Security Systems.

Fixing the flaw can be a complex task, as the bug may exist thousands of times within a site. One Webmaster said the best solution is to redesign the way that scripts are processed and to use a single servlet to check for malicious scripts on all pages. But the work may take many months, and Ollmann warned that even this painstaking approach was not guaranteed to guard against scripts in unusual file formats, such as Flash.

Many site designers are unfamiliar with URLs used in this way, but when IT Week supplied the relevant URL to the Webmaster of one vulnerable site, he produced a JavaScript fix in less than a day.

Legal issues are also raised. Hackers do not actually gain access to target Web sites, so charges under the Computer Misuse Act are unlikely to succeed. Moreover, the malicious script is delivered by the target sites, so victims could be liable. Firms may also be sued for libellous material spread in this way, and may face penalties under the Data Protection Act for mishandling customer data.

Have your say: contact IT Week

  • Have your say
  • Send to a friend
  • Print
  • Digg
  • Reddit
  • Share

Tags:

Do you agree?

Further reading

Bug Watch: New threat from an old flaw

Cross-site scripting still being ignored, warns expert

Top sites vulnerable to hackers

Despite warnings, Cross Site Scripting still a threat

Related whitepapers

Related jobs

Most watched

V3.co.uk weekly debrief, 13 Nov 09

This week we discuss the inaugural V3.co.uk Summit

Summit: Salesforce.com on SaaS and information overload

How web services contribute to data headaches

Analysis and Reports

Remote access - Three steps to getting connected

3.4 million UK professionals now work from home – is your company equipped?

Cost benefits of a global collaboration network

This white paper is a must read for organisations looking for evidence of the bottom-line benefits of high-definition video and voice communications

Poll

Impact of Information Overload poll

Impact of Information Overload poll

What is the biggest problem your firm faces as a result of the data explosion?

View poll results

Advertisement

White paper library

Keep up to date with the latest products, services and technologies from the world's leading IT companies; IThound.com brings you over 6,000 white papers, case studies and analyst reports.

Advertisement

Newsletter signup

Sign up for our range of FREE newsletters:

Existing User

Newsletter user login:

Enter email address to edit your newsletter preferences

Job of the week

Search thousands of IT jobs :

Search thousands of IT jobs:

Advanced search

Hiring now on ComputingCareers:

Related IT jobs

Search thousands of IT jobs :

Search thousands of IT jobs:

Advanced search

Advertisement

Spotlight

V3.co.uk weekly debrief, 13 Nov 09

This week we discuss the inaugural V3.co.uk Summit

Fingers on keyboard

New Flash vulnerability discovered

Web sites could be vulnerable to Flash attacks

Chris Adams

Summit: Microsoft Office to the rescue

Chris Adams, Office Client product manager for Microsoft UK, explains...

Illegal downloader

Industry and human rights campaigners united in opposition to "three strikes" plan

Critics says government proposals to curb illegal downloading are unworkable...

Primary Navigation