What is the difference between a DOM-based cross-site scripting (XSS) attack versus a typical XSS attack? How should...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
enterprise defenses differ for DOM-based attacks?
Ask the Expert!
SearchSecurity expert Nick Lewis is standing by to answer your questions about enterprise security threats. Submit your question via email. (All questions are anonymous.)
Enterprise defenses against DOM-based XSS attacks are similar to those against regular XSS attacks, but they do vary when it comes to defending clients versus servers.
To defend a client system, it would be helpful to use a Web browser that blocks potential XSS attacks -- like Firefox with the NoScript plug-in -- or use client-side host intrusion prevention software that blocks XSS attacks.
On the server side, either a network-based Web application firewall or an intrusion prevention system with XSS signatures could be used. The potentially vulnerable application should also include input validation, which not only ensures that only valid input is used, but also offers additional security benefits, such as preventing SQL injection. Validation of the submitted data in the system can also reduce the manual processes to clean the data.
Currently, there are new attack prevention techniques being discussed, such as the anti-XSS framework conceived by researchers Joseph Bugeja and Geraint Price, but there are no silver bullets to block all XSS attacks. Bugeja and Price described their anti-XSS framework as a layer that sits between a Web application and user-generated input, allowing an enterprise to write rules about what application input can be accepted or blocked. If this rule-based mechanism proves viable, it may be a worthwhile emerging defense against DOM-based XSS attacks.
Dig Deeper on Application attacks (buffer overflows, cross-site scripting)
Related Q&A from Nick Lewis
The Fruitfly Mac malware has decades-old code, but has been conducting surveillance attacks for over two years without detection. Expert Nick Lewis ...continue reading
A Gmail phishing attack brought users to fake login pages designed to look like Google's. Expert Nick Lewis explains how users can prevent similar ...continue reading
A HummingBad malware variant, HummingWhale, was discovered being spread through 20 apps on the Google Play Store. Expert Nick Lewis explains the ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.