[Security Fix] Possible SQL Injection in privmsg.php

Php, PHP-Nuke, phpBB, Html, CSS, Javascript e tutto ciò che concerne la gestione siti web.
Avatar utente
AleSSaNDRo
WebMaster
WebMaster
Messaggi: 2358
Iscritto il: 24/04/2003, 1:11
Località: Milano

[Security Fix] Possible SQL Injection in privmsg.php

Messaggio da AleSSaNDRo »

Il bug permette agli hackers di ottenere gli hashes della password.
Il bug si presenta in tutte le versione phpBB 2.0.* ed è altamente consigliato applicare le seguenti modifiche.
Il pacchetto phpBB 2.0.8 che trovate nei download del sito è già con la patch inserita.
Per fixare il problema, apri il file privmsg.php e:

CERCA

Codice: Seleziona tutto

$pm_sql_user .= "AND ( ( pm.privmsgs_to_userid = " . $userdata['user_id'] . " 



SOSTITUISCI CON:

Codice: Seleziona tutto

$pm_sql_user = "AND ( ( pm.privmsgs_to_userid = " . $userdata['user_id'] . " 



The difference between the two lines is the deleted dot after $pm_sql_user.

Save and if necessary upload the changed file to your webserver replacing your existing version.

Chi c’è in linea

Visitano il forum: Claude [Bot] e 0 ospiti