FIX it:
for fix XSS Vulnerability use htmlentities:
in line 16 Remplace:
<body>
<span class="alerte">Search result :</span> <strong><?php echo $_POST['Vulnerability']; ?></strong>
</body>
By:
<body>
<span class="alerte">Search result :</span> <strong><?php
if(isset($_POST['Vulnerability'])) { echo htmlentities($_POST['Vulnerability']); } ?></strong>
</body>
use htmlspecialchars() function in PHP ;)
other function:
htmlentities() quotes
strip_tags()
...
Tuesday, November 23, 2010
======Chapter 4 - Securing XSS======

About SUMIT OJHA
Soratemplates is a blogger resources site is a provider of high quality blogger template with premium looking layout and robust design. The main mission of templatesyard is to provide the best quality blogger templates.
Xss Complete Tutorial
Labels:
Xss Complete Tutorial
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment