what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

wwrte-traverse.txt

wwrte-traverse.txt
Posted Jan 24, 2008
Authored by AmnPardaz Security Research Team | Site bugreport.ir

Web Wiz Rich Text Editor version 4.0 suffers from a directory traversal vulnerability.

tags | exploit, web, file inclusion
SHA-256 | 05d91ffd39567b27eddb46e07f2d489261c6d5e6575ed85f4d8799afd486885e

wwrte-traverse.txt

Change Mirror Download
########################## WwW.BugReport.ir  
###########################################
#
# AmnPardaz Security Research Team
#
# Title: Web Wiz Rich Text Editor(TM)
# Vendor: http://www.webwizguide.com/
# Bug: Directory traversal + HTM/HTML file creation on the server
# Vulnerable Version: 4.0
# Exploit: Available
# Fix Available: No! Fast Solution is available.
###################################################################################


####################
- Description:
####################
Web Wiz Rich Text Editor (RTE) is a free WYSIWYG HTML Rich Text Editor
that replaces standard textarea's with an advanced Word style HTMLarea.

####################
- 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.
Moreover, by using "RTE_popup_save_file.asp" attacker can make his/her
HTML or HTM file on the server, so this can be used in XSS attacks or
making fake pages.

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

####################
- Fast Solution :
####################
1- 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)
2- Rename "RTE_popup_save_file.asp" till main solution by vendor

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


Login or Register to add favorites

File Archive:

October 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    39 Files
  • 2
    Oct 2nd
    23 Files
  • 3
    Oct 3rd
    18 Files
  • 4
    Oct 4th
    20 Files
  • 5
    Oct 5th
    0 Files
  • 6
    Oct 6th
    0 Files
  • 7
    Oct 7th
    17 Files
  • 8
    Oct 8th
    66 Files
  • 9
    Oct 9th
    25 Files
  • 10
    Oct 10th
    20 Files
  • 11
    Oct 11th
    21 Files
  • 12
    Oct 12th
    0 Files
  • 13
    Oct 13th
    0 Files
  • 14
    Oct 14th
    0 Files
  • 15
    Oct 15th
    0 Files
  • 16
    Oct 16th
    0 Files
  • 17
    Oct 17th
    0 Files
  • 18
    Oct 18th
    0 Files
  • 19
    Oct 19th
    0 Files
  • 20
    Oct 20th
    0 Files
  • 21
    Oct 21st
    0 Files
  • 22
    Oct 22nd
    0 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close