Lucene search
K

Web Wiz Forums <= 9.07 (sub) Remote Directory Traversal Vulnerability

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 20 Views

Web Wiz Forums vulnerability 9.07, exploit available for remote directory traversa

Code

                                                ########################## WwW.BugReport.ir ###########################################
#
#      AmnPardaz Security Research Team
#
# Title: Web Wiz Forums(TM)
# Vendor: http://www.webwizguide.com/
# Bug: Directory traversal
# Vulnerable Version: 9.07
# Exploit: Available
# Fix Available: No! Fast Solution is available.
###################################################################################


####################
- Description:
####################
Web Wiz Forums bulletin board system is the ideal forum package for your website&#39;s community. 

####################
- Vulnerability:
####################
Input passed to the FolderName parameter in &#34;RTE_file_browser.asp&#34; and &#34;file_browser.asp&#34; are not properly sanitised before being used. This can be exploited to list directories, list txt and list zip files through directory traversal attacks.
Also, &#34;RTE_file_browser.asp&#34; does not check user&#39;s session and an unauthenticated attacker can perform this attack.

-POC:
http://[WebWiz Forum]/RTE_file_browser.asp?look=&sub=\.....\\\.....\\\.....\\\


####################
- Fast Solution :
####################
You can see below lines in &#34;RTE_file_browser.asp&#34; and &#34;file_browser.asp&#34;

	&#39;Stip path tampering for security reasons
	strSubFolderName = Replace(strSubFolderName, &#34;../&#34;, &#34;&#34;, 1, -1, 1)
	strSubFolderName = Replace(strSubFolderName, &#34;..\&#34;, &#34;&#34;, 1, -1, 1)
	strSubFolderName = Replace(strSubFolderName, &#34;./&#34;, &#34;&#34;, 1, -1, 1)
	strSubFolderName = Replace(strSubFolderName, &#34;.\&#34;, &#34;&#34;, 1, -1, 1)

Only add this to them:
	strSubFolderName = Replace(strSubFolderName, &#34;/&#34;, &#34;\&#34;, 1, -1, 1)
	strSubFolderName = Replace(strSubFolderName, &#34;\\&#34;, &#34;\&#34;, 1, -1, 1)
	strSubFolderName = Replace(strSubFolderName, &#34;..&#34;, &#34;&#34;, 1, -1, 1)	

####################
- Credit :
####################
Original Advisory: http://www.bugreport.ir/?/29
AmnPardaz Security Research & Penetration Testing Group
Contact: admin[4t}bugreport{d0t]ir
WwW.BugReport.ir
WwW.AmnPardaz.com

# milw0rm.com [2008-01-23]

                              

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