Lucene search
K

DotNetNuke CMS 9.5.0 Cross Site Scripting

🗓️ 24 Feb 2020 00:00:00Reported by Sajjad PouraliType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 575 Views

File upload vulnerability through bypassing client-side file extension check in DotNetNuke CMS 9.5.

Related
Code
ReporterTitlePublishedViews
Family
CNVD
DNN cross-site scripting vulnerability (CNVD-2020-13479)
25 Feb 202000:00
cnvd
CVE
CVE-2020-5186
24 Feb 202014:24
cve
Cvelist
CVE-2020-5186
24 Feb 202014:24
cvelist
EUVD
EUVD-2022-3424
3 Oct 202520:07
euvd
Github Security Blog
DNN XSS Vulnerability
24 May 202217:09
github
NVD
CVE-2020-5186
24 Feb 202015:15
nvd
OSV
GHSA-9PHR-H5MX-4FP6 DNN XSS Vulnerability
24 May 202217:09
osv
Prion
Cross site scripting
24 Feb 202015:15
prion
RedhatCVE
CVE-2020-5186
22 May 202515:36
redhatcve
Veracode
Cross-Site Scripting (XSS)
25 Feb 202005:21
veracode
Rows per page
`  
# Exploit Title: File upload vulnerability through bypassing client-side file extension check  
# Date: 23 Feb 2020  
# Exploit Author: Sajjad Pourali  
# Vendor Homepage: http://dnnsoftware.com/  
# Software Link: https://github.com/dnnsoftware/Dnn.Platform/releases/download/v9.5.0/DNN_Platform_9.5.0_Install.zip  
# Version: => 9.5  
# CVE : CVE-2020-5186  
# More Info: https://medium.com/@SajjadPourali/dnn-dotnetnuke-cms-not-as-secure-as-you-think-e8516f789175  
  
DNN allows normal users to upload XML files by using journal tools in their profile. An attacker could upload XML files which may execute malicious scripts in the user’s browser.  
  
In XML, a namespace is an identifier used to distinguish between XML element names and attribute names which might be the same. One of the standard namespaces is “http://www.w3.org/1999/xhtml” which permits us to run XHTML tags such as <script>.  
  
For instance, uploading the following code as an XML file executes javascript and shows a non-harmful ‘XSS’ alert.  
  
<?xml version="1.0" encoding="UTF-8"?>  
<script xmlns="http://www.w3.org/1999/xhtml">  
alert('XSS');  
</script>  
  
Though stealing of authentication cookies are not possible at this time (because the authentication’s cookies are set as HttpOnly by default), XSS attacks are not limited to stealing users’ cookies. Using XSS vulnerability, an attacker can perform other more damaging attacks on other or high privileged users, for example, bypassing CSRF protections which allows uploading “aspx” extension files through settings page which leads to upload of backdoor files.  
`

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