CVE-2022-30525
CRITICAL KEV RANSOMWARE NUCLEIZyxel Firewall SUID Binary Privilege Escalation
Title source: metasploitExploitation Summary
CVE-2022-30525 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added May 16, 2022, with confirmed use in ransomware campaigns.
EIP tracks 16 public exploits from researchers including Valentin Lobstein, shuai06, jbaines-r7, including a Metasploit module exploits/linux/http/zyxel_ztp_rce.
A Nuclei detection template is also available.
AI-analyzed exploit summary This exploit targets CVE-2022-30525, an OS command injection vulnerability in Zyxel USG FLEX devices. It sends a crafted JSON payload to the `/ztp/cgi-bin/handler` endpoint, injecting a reverse shell command via the `mtu` parameter.
Description
A OS command injection vulnerability in the CGI program of Zyxel USG FLEX 100(W) firmware versions 5.00 through 5.21 Patch 1, USG FLEX 200 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 500 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 700 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 50(W) firmware versions 5.10 through 5.21 Patch 1, USG20(W)-VPN firmware versions 5.10 through 5.21 Patch 1, ATP series firmware versions 5.10 through 5.21 Patch 1, VPN series firmware versions 4.60 through 5.21 Patch 1, which could allow an attacker to modify specific files and then execute some OS commands on a vulnerable device.
Exploits (16)
This exploit targets CVE-2022-30525, an OS command injection vulnerability in Zyxel USG FLEX devices. It sends a crafted JSON payload to the `/ztp/cgi-bin/handler` endpoint, injecting a reverse shell command via the `mtu` parameter.
This PoC exploits a command injection vulnerability in Zyxel firewalls by injecting a DNS lookup command into the 'mtu' parameter of a JSON payload sent to the '/ztp/cgi-bin/handler' endpoint. It uses dnslog.cn for out-of-band detection to confirm the vulnerability.
This is a functional proof-of-concept exploit for CVE-2022-30525, an unauthenticated remote command injection vulnerability in Zyxel firewalls. It leverages the zero-touch provisioning endpoint to execute arbitrary commands and establish a reverse shell.
This PoC exploits CVE-2022-30525, an unauthenticated remote command injection vulnerability in Zyxel firewalls. It sends a crafted JSON payload to the `/ztp/cgi-bin/handler` endpoint, injecting a command to ping a DNS log server for verification.
This repository contains a functional proof-of-concept exploit for CVE-2022-30525, a command injection vulnerability in Zyxel firewalls. It includes both a DNS-based verification method and a reverse shell payload for exploitation.
This PoC exploits CVE-2022-30525, an unauthenticated remote command injection vulnerability in Zyxel firewalls. It uses DNS exfiltration via dnslog.cn to verify command execution by injecting a ping command into the 'mtu' parameter of a JSON payload sent to the /ztp/cgi-bin/handler endpoint.
This repository contains a functional Go-based exploit for CVE-2022-30525, targeting Zyxel firewalls with unauthenticated remote command execution via the `/ztp/cgi-bin/handler` endpoint. The exploit injects commands into the `mtu` parameter of a JSON payload, achieving RCE as the `nobody` user.
This repository contains a functional proof-of-concept exploit for CVE-2022-30525, a command injection vulnerability in Zyxel firewalls. The exploit leverages the 'mtu' parameter in the '/ztp/cgi-bin/handler' endpoint to execute arbitrary commands, including reverse shell payloads via netcat or DNS exfiltration.
This script checks for the presence of CVE-2022-30525, an OS command injection vulnerability in Zyxel USG FLEX devices. It sends a crafted HTTP request with a command injection payload to test for vulnerability.
This is a functional exploit for CVE-2022-30525, targeting unauthenticated remote command injection in Zyxel firewalls. It sends a crafted JSON payload to the `/ztp/cgi-bin/handler` endpoint, injecting a reverse shell via the `mtu` parameter.
This is a Python-based exploit for CVE-2022-30525, a command injection vulnerability in Zyxel firewalls. It leverages DNSLog for out-of-band detection of successful command injection via the 'mtu' parameter in a JSON payload.
This repository contains a detailed writeup of CVE-2022-30525, an OS command injection vulnerability in Zyxel firewalls. The vulnerability allows unauthenticated remote code execution via the /ztp/cgi-bin/handler endpoint using the setWanPortSt command.
This PoC exploits CVE-2022-30525, a command injection vulnerability in Zyxel firewalls, by injecting a reverse shell payload into the 'mtu' parameter of a JSON request to the ZTP handler endpoint. The exploit uses a bash command to establish a reverse shell connection to a specified listener.
This is a Python-based exploit for CVE-2022-30525, a command injection vulnerability in Zyxel firewalls. It leverages DNSLog for detection and can scan single or multiple targets.
This PoC exploits CVE-2022-30525, a command injection vulnerability in Zyxel firewalls. It sends a crafted JSON payload to the '/ztp/cgi-bin/handler' endpoint, injecting a command to ping a DNS log domain for verification of exploitation.
This Metasploit module exploits CVE-2022-30525, an unauthenticated remote command injection vulnerability in Zyxel firewalls via the ZTP handler. It injects commands into the 'mtu' field of a JSON payload sent to /ztp/cgi-bin/handler.
Nuclei Templates (1)
title:"USG FLEX 100","USG FLEX 100w","USG FLEX 200","USG FLEX 500","USG FLEX 700","USG FLEX 50","USG FLEX 50w","ATP100","ATP200","ATP500","ATP700" || http.title:"usg flex 100","usg flex 100w","usg flex 200","usg flex 500","usg flex 700","usg flex 50","usg flex 50w","atp100","atp200","atp500","atp700"
References (6)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H