Re: This code using _GET exploitable
| From: | Michael A. Peters | Date: | Wed, 11 Mar 2009 12:48:07 +0000 |
| Subject: | Re: This code using _GET exploitable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289841@lists.php.net to get a copy of this message | ||
filtered wrote:
Hi, we have script containing <? echo $_GET['studio'] ?> andIt certainly is XSS vulnerable through a reflective XSS attack. clean your input before displaying it.<? $cam = $_GET['cam'];if ($cam == '1') { echo '<img src="http://example.com"" />'; }?> Is this code prone to XSS attacks or for attacking the local webserver and if so, how? $cam isn't used anywhere else. -a