New Post
Sunday, September 16, 2012
Hey awl in diz tut i will be telling uhh awl countermeasures against XSS :)
16
Sep
2012
Check and validate all the form fields, hidden fields, headers, cookies, query strings and all the parameters against a rigorous specification.
Implement a stringent security policy.
Web servers, applications servers, and web application environments are vulnerable to cross-site scripting. It is hard to identify and remove XSS flaws from web applications. The best way to find flaws is to perform a security review of the code, and search in all the places where input from an HTTP request comes as an output through HTML.
A variety of different HTML tags can be used to transmit a malicious JavaScript. Nessus, Nikto and other tools can help to some extent for scanning website for these flaws. If vulnerability is discovered in one website, there is a high chance of it being vulnerable to other attacks.
Find the script output to defeat XSS vulnerability which can prevent then from being transmitted to users.
The entire code of the website has to be reviewed if it has to be protected against XSS attacks. The sanity of the code should be checked by reviewing and comparing it against exact specifications. The areas should be checked as follows, the headers, as well as cookies, query string from fields and hidden fields. During the validation process, there must be no attempt to recognize the active content, neither to remove the filter nor sanitize it.
There are many ways to encode the known filters for active content. A “positive security policy” is highly recommended, which specifies what has to be allowed and what has to be removed. Negative or attack signature-based policies are hard to maintain, as they are incomplete.
Input fields should be limited to a maximum since most script attacks need several characters to get granted.
Related Posts
WordPress WP E-Commerce 3.8.9 SQL Injection / Cross Site Scripting
WordPress WP E-Commerce 3.8.9 SQL Injection / Cross Site ScriptingSoftware: WP e-CommerceSoftware La...Read more
Media Player Classic XSS / Denial Of Service
==========================================================================================MPC (Media...Read more
[XSS] Soha.vn
Site: http://my.soha.vnExploit: Cross Site Scripting (XSS) Stored.Đánh giá: Nghiêm trọng.Khai thác: ...Read more
Cross-site Scripting Vulnerability in WordPress GD Star Rating Plugin
Vector: Remote Severity: Low Patch: Unpatched Impact: Cross...Read more
[XSS] Exploit Google for Phishing attack
Lần trước khi Juno_okyo gửi email cảnh báo về XSS tại Google Transplate, phía Security của Google đã...Read more
SQL Injection - Useful Functions - Tutorial
Here are some useful function that you can use to speed up your injection and/or evade some WAFs.If ...Read more
Subscribe to:
Post Comments (Atom)
0 nhận xét:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.