Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Bugtraq
[Top] [All Lists]

Web Wiz NewsPad Directory traversal

Subject: Web Wiz NewsPad Directory traversal
Date: Wed, 23 Jan 2008 11:04:33 +0330
########################## WwW.BugReport.ir ###########################################
#
# AmnPardaz Security Research Team
#
# Title: Web Wiz NewsPad(TM)
# Vendor: http://www.webwizguide.com/
# Bug: Directory traversal
# Vulnerable Version: 1.02
# Exploit: Available
# Fix Available: No! Fast Solution is available.
###################################################################################



####################
- Description:
####################
Web Wiz NewsPad is an advanced but easy to use Email Newsletter and Website News Bulletin software.


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


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



#################### - Fast Solution : #################### You can see below lines in "RTE_file_browser.asp"

        'Stip path tampering for security reasons
        strSubFolderName = Replace(strSubFolderName, "../", "", 1, -1, 1)
        strSubFolderName = Replace(strSubFolderName, "..\", "", 1, -1, 1)
        strSubFolderName = Replace(strSubFolderName, "./", "", 1, -1, 1)
        strSubFolderName = Replace(strSubFolderName, ".\", "", 1, -1, 1)

Only add this to them:
        strSubFolderName = Replace(strSubFolderName, "/", "\", 1, -1, 1)
        strSubFolderName = Replace(strSubFolderName, "\\", "\", 1, -1, 1)
        strSubFolderName = Replace(strSubFolderName, "..", "", 1, -1, 1)

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




<Prev in Thread] Current Thread [Next in Thread>
  • Web Wiz NewsPad Directory traversal, admin <=