View Single Post
  #1  
Old 20th August 2008, 12:15
kp380lv's Avatar
kp380lv kp380lv is offline
Senior Member
 
Join Date: May 2008
Latvia
Posts: 388
Exclamation A little bug-fix in rss.php (potential SQL-injection)
For YSE PRE 6 but Also working for BoLaMns PRE 7

Open rss.php and substitute:

Replace This:

Code:
$user = mysql_fetch_row(sql_query("SELECT COUNT(*) FROM users WHERE passkey = '$passkey'"));
With this:

Code:
$user = mysql_fetch_row(sql_query("SELECT COUNT(*) FROM users WHERE passkey = ".sqlesc($passkey)));
Vulnerability type SQL-injection, but because of the complexity of the application - rather than dangerous.
Reply With Quote