Fix Cutenews 1.4.5 CSRF

 
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(" Attempt");
   }
}

 

Il codice qui sopra serve per ''fixare'' la CSRF del .Trovate l'exploit qui

Mi auguro che possa servire alle persone che usano questo CMS ;)

Michele

Crediti: Vincy

Leggi anche:


Abbonati ai Feed RS

Riceverai gratuitamente tutti gli aggiornamenti direttamente sulla tua e-mail!

Feed RSS

Inserisci l'indirizzo email:

Sottoscrizione ai feed di FeedBurner

blog comments powered by Disqus