Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Cybersecurity
    • Cybersecurity

    Google Addressing Threats From Cross-Site Scripting Errors

    Written by

    Jaikumar Vijayan
    Published September 27, 2016
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Google has released a new tool called CSP Evaluator that it says can help developers ensure that the polices they use for mitigating cross-site scripting errors are effective and work as intended.

      Cross-site scripting errors basically let attackers inject malicious code into a web application or webpage. Attackers often use it to insert malicious code in the HTML pages that are presented to a user visiting a website in order to infect their computers.

      Though cross-site scripting errors are well understood and have been around for years, they continue to be a major source of vulnerabilities in web applications. As a result, developers often use a mechanism known as Content Security Policy (CSP) for defining and restricting the conditions under which scripts are allowed to run in an application.

      The idea is that even if an attacker manages to inject malicious script into a webpage, they would be limited in their ability to do harm.

      “CSP is a flexible tool allowing developers to set a wide range of policies,” said Google information security engineers Artur Janc, Michele Spagnuolo, Lukas Weichselbaum and David Ross in a post on the Google Security Blog this week. Most modern browsers support CSPs, though not entirely, they noted.

      However, the flexibility has its drawbacks, the Google engineers said. Too often, developers use CSPs to set policies that only appear to work as intended but rarely do so in real life. In an analysis that Google conducted earlier this year of more than 1 billion domains, 95 percent of the deployed CSPs offered no protection against cross-site scripting attacks, they said.

      The study found that even websites and domains that many organizations trust for the purpose of loading scripts were not as safe as assumed. In fact “14 out of the 15 domains most commonly whitelisted for loading scripts contain unsafe endpoints,” the study found.

      Not surprisingly, nearly 76 percent of the policies that Google evaluated in its study had script whitelists that would have allowed attackers to bypass their CSPs.

      Google’s new CSP Evaluator aims to help address this deficiency. It helps developers visualize how their content security policies are working and to detect minor misconfigurations. Security engineers at Google currently use CSP Evaluator to ensure their CSPs provide meaningful benefit and cannot be bypassed by attackers, the four Google engineers said in their blog post.

      CSP Evaluator eliminates the need for developers to review content security policies manually and helps them harden their application against cross-site scripting attacks, Google said in an official description of the tool. The checks that are contained in the tools are based on its study of more than 1 billion domains.

      CSP Evaluator is part of a broader effort by Google to get developers to adopt a stricter approach to implementing content security policy. In addition to CSP Evaluator, the company has published new documentation on the best strategies for implementing CSP and a Chrome extension called CSP Mitigator for helping developers verify if an application is compatible with strict CSP.

      Jaikumar Vijayan
      Jaikumar Vijayan
      Vijayan is an award-winning independent journalist and tech content creation specialist covering data security and privacy, business intelligence, big data and data analytics.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×