Lucene search
K

SoftArtisans SAFileUp 5.0.14 - 'viewsrc.asp' Script Source Disclosure

🗓️ 30 Dec 2006 00:00:00Reported by Inge HenriksenType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 28 Views

SoftArtisans FileUp(TM) viewsrc.asp script source disclosure exploi

Code
SoftArtisans FileUp viewsrc.asp remote script source disclosure exploit 

Advisory Name: SoftArtisans FileUp(TM) viewsrc.asp remote script source disclosure exploit 
Tested and Confirmed Vulerable: SoftArtisans SAFileUp(TM) 5.0.14 (Standard) 
Severity: High Type: Script 
source disclosure From where: Remote 
Discovered by: Inge Henriksen (http://ingehenriksen.blogspot.com/) 
Vendor Status: Notified Overview: 

SoftArtisans FileUp(TM) is a popular web server component for transactional uploading of files to a 
web server using a web browser. 

When installing SoftArtisans FileUp(TM) you should avoid installing the samples as viewsrc.asp can 
let remote anonymous users see script source code or configuration settings outside the 
/SAFileUpSamples virtual directory. This is accomplished by modifying the "path" query variable to 
point to files outside the designated directory. A web browser from a remote location is a 
sufficient tool to see the source code or configuration settings in plain text. 

Proof-of Concept: 

The following url would show the configuration settings for www.example.xom: 

http://www.example.xom/SAFileUpSamples/util/viewsrc.asp?path=/SAFileUpSamples/%c0%ae./%c0%ae./web.config 


The %c0%ae is Unicode for the "." character on a english language server, the url is therefore 
interpreted by the server as 
http://www.example.xom/SAFileUpSamples/util/viewsrc.asp?path=/SAFileUpSamples/../../web.config, in 
addition the unicode character avoids the security checks inside the code of viewsrc.asp which won't 
let any ".." pass through. Keep in mind that other unicode's will also work. Also note that OS'es 
with other language settings will be vulnerable to different unicodes, thus %c0%ae might not work on 
a chinese server but some other unicode's should work just as well. 

# milw0rm.com [2006-12-30]

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