Home > Ask the Information Security Experts > Questions & Answers > Has cross-site scripting evolved?
Ask The Security UK Expert: Questions & Answers
EMAIL THIS

Has cross-site scripting evolved?

Ed Skoudis EXPERT RESPONSE FROM: Ed Skoudis

Pose a Question
Other Security UK Categories
Meet all Security UK Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 02 August 2007
What's new with cross-site scripting? Isn't this just an old attack from a decade ago? Why all the buzz about it now?

>
EXPERT RESPONSE
Today's cross-site scripting (XSS) tactics are a far cry from the attacks of the late 1990s, a time when hackers were popping up dialog boxes and swiping e-commerce cookies from browsers. While those early threats are still with us, attacks have become far more serious. With the emergence of a new development method known as Asynchronous JavaScript and XML (AJAX), the scripts that a Web site can push to a browser have more capabilities than ever before.

To see what can happen, consider this attack scenario: You find yourself surfing to a site belonging to an attacker, or even an innocent Web site that hosts content from millions of other users, such as a social networking site, an auction site or a Web-based email site. (An innocent Web site is just as likely to propagate an XSS flaw if it doesn't properly scrub user input to filter out browser scripts.) Once there, evil script programs are dutifully passed down to your browser. The browser then runs the scripts, interpreting them as being sent by the site.

"And then what?" you ask. Well, mayhem ensues. A script, running in the browser, can do anything you can do on that site: bid on an auction, buy stuff or expand your buddy list to include unsavory people. But it gets worse. The script could scrape your browser history to see if you've visited any embarrassing Web sites, and in turn forward the information back to the attacker. The script could also use the browser to start scanning other Web servers, perhaps even those inside of your corporation's firewall.

It's astounding what is being done with browser scripts these days. And, all of this is possible just because you surfed to the attacker's site, or viewed an attacker's content on a third-party location. For more details on these threats, check out the startling presentation by Billy Hoffman at this year's Shmoocon show, an East Coast hacking convention.

So in a nutshell, an attacker can use the browser to wield bot-like control of a victim's machine. Sure, there are restrictions on what scripts can do in a browser. They can't directly access any file in the file system or run arbitrary programs on the machine, for example, but clever researchers are finding ways to either dodge those restrictions or live within them to achieve powerful controls.

What can you do to defend yourself? On highly sensitive machines, you may want to disable browser scripts altogether. Also, make sure you keep your antivirus tool up to date. And, watch this trend carefully. There's big stuff coming in this realm, to be sure.

More information:

  • Learn which techniques can prevent cross-site scripting.
  • Michael Cobb reviews database vulnerabilities. XSS is only the beginning.


  • Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Threat Management
    Network security basics: How to prevent common attacks
    Future security threats: Enterprise attacks of 2009
    Cybercrime reports: Security not broken, but breaking at the seams
    Data losses set to soar, KPMG predicts
    Screencast: How to gather host-level data with Network Miner
    Appliance provides network access protection on school campus
    Market Harborough Building Society finds way to monitor users' network traffic
    'Phlashing' attacks
    How to identify network attacks proactively
    Stopping spam brings additional security benefits for cable company

    Web Application Security
    Future security threats: Enterprise attacks of 2009
    How to prevent clickjacking attacks with security policy, not technology
    Finjan offers free audits for crimeware sufferers
    Finance sector poor at achieving outsourcing success
    How to prevent SQL Server and Internet Explorer hack attacks
    Web browser exploits explained
    Sophos adds browser and virtualisation blocking features
    Web advertising exploits: Protecting Web browsers and servers
    Hacker toolkit targets Microsoft Access zero-day
    Hackers and phishers see charities as "soft targets"

    Secure Coding
    Cybercrime reports: Security not broken, but breaking at the seams
    Finjan offers free audits for crimeware sufferers
    (ISC)2 targets software developers with secure accreditation
    PGP and IBM kickstart Bletchley Park rescue
    Debian: A niche OS with a not-so-niche security flaw
    Hacker toolkit targets Microsoft Access zero-day
    How can app developers solve a problem like insecure code?
    Coders need to forget 'groovy' features, remember security
    The re-birth of the metamorphic virus
    Enterprise security in 2008: Building trust into the application development process

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    Centre for the Protection of National Infrastructure  (SearchSecurityUK.com)
    Serious Organized Crime Agency  (SearchSecurityUK.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice

    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2008 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts