Kaspersky website vulnerable to XSS

Powered by SC Magazine
 

Reddit post outs flaw.

In brief: A Reddit post has published a cross-site scripting (XSS) flaw found on the website of security company Kaspersky.

The XSS flaws allow client-side script to be injected into web pages and can be used to bypass access controls. They were the most common form of web application vulnerabilities and most were simple to detect.'

 

The Reddit user had injected an image and a series of popups into the page.

XSS was rated as the second most pressing web application vulnerability in the Open Web Application Security Project Top Ten.

To mitigate XSS, the project recommended to keep untrusted data separate from active browser content.

  1. The preferred option is to properly escape all untrusted data based on the HTML context (body, attribute, JavaScript, CSS, or URL) that the data will be placed into. Developers need to include this escaping in their applications unless their UI framework does this for them. See the OWASP XSS Prevention Cheat Sheet for more information about data escaping techniques.
  2. Positive or 'whitelist' input validation is also recommended as it helps protect against XSS, but is not a complete defense as many applications must accept special characters. Such validation should decode any encoded input, and then validate the length, characters, and format on that data before accepting the input.
  3. Consider employing Mozilla’s Content Security Policy.

Copyright © SC Magazine, Australia


Kaspersky website vulnerable to XSS
 
 
 
Top Stories
Photos: Global Switch opens Sydney East data centre
First stage opened, to some fanfare.
 
ATO releases long-awaited Bitcoin guidance
Everyday investors escape the tax man.
 
Why the Weather Bureau’s new supercomputer is a 'gamechanger'
IT transformation starts to reap results.
 
 
Sign up to receive iTnews email bulletins
   FOLLOW US...
Latest Comments
Polls
Which is the most prevalent cyber attack method your organisation faces?




   |   View results
Phishing and social engineering
  68%
 
Advanced persistent threats
  3%
 
Unpatched or unsupported software vulnerabilities
  12%
 
Denial of service attacks
  7%
 
Insider threats
  11%
TOTAL VOTES: 482

Vote