if($_POST['action'] == "adduser")
{
$host = "[Site]"; // Your site without http:// or www. and slash after all dat
$referer = $_SERVER['HTTP_REFERER'];
$pattern = "^http://(www.)?".$host;
if (!eregi($pattern, $ref))
{
die("CSRF Attempt");
}
}
Il codice qui sopra serve per ''fixare'' la CSRF del cutenews.Trovate l'exploit qui
Mi auguro che possa servire alle persone che usano questo CMS
Michele
Crediti: Vincy














Ultimi Commenti