CVE-2021-20035
Medium · 6.5 CISA KEVCVSS
6.5
EPSS
4.2%
Published
Sep 27, 2021
CISA due date
May 7, 2025
Cloudanix analysis
A flaw in the device management portal can let a logged-in attacker run commands that may disrupt the appliance and related remote access services.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Firmware
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
The vulnerability is an authenticated OS command injection flaw in the SonicWall SMA100 management interface. A remote attacker with valid low-privileged credentials can submit crafted input containing shell metacharacters that is not properly neutralized by the appliance, causing the underlying operating system to execute attacker-supplied commands as the low-privileged 'nobody' user. The stated impact is primarily availability: an attacker can run commands that consume resources, disrupt management services, delete or alter runtime files accessible to that user, or otherwise trigger denial of service. Because exploitation occurs through a network-reachable management interface with low attack complexity and no user interaction, exposed administrative interfaces materially increase risk. This CVE is listed in CISA KEV and is reported as actively exploited in the wild, including association with UNC6148 / OVERSTEP activity.
Why it matters to the business
Successful exploitation can disrupt remote access and management of affected secure access appliances, potentially interrupting VPN, administrative, or remote connectivity operations. Even though the documented command execution runs as 'nobody' and is scored primarily for availability impact, active exploitation and KEV status mean organizations should treat exposure as urgent because attackers may use the flaw as part of broader appliance compromise, persistence, or follow-on intrusion activity. CISA KEV lists a remediation due date of 2025-05-07 for covered organizations. The provided affected-product metadata also references GPAC package fixes, but that conflicts with the SMA100 management-interface description; teams should verify product applicability against authoritative vendor advisories before relying on package metadata alone.
How an attack unfolds
An attacker first identifies an internet-facing or otherwise reachable SMA100 management interface. They obtain or reuse valid credentials for the appliance, which may be low privileged. After authentication, they access a vulnerable management function and submit crafted input containing command separators or shell-expansion syntax. Because the interface fails to safely neutralize these special elements before invoking system commands, the appliance executes the injected payload as the 'nobody' user. The attacker can then run commands to test execution, inspect the environment, write temporary files, start outbound network connections, or execute resource-exhaustion commands that degrade or stop appliance services. In observed threat context such as UNC6148 / OVERSTEP-related activity, exploitation of SMA appliances should be investigated as part of a broader compromise scenario rather than treated only as a one-time denial-of-service event.
How to fix it
Apply the vendor-supported fixed firmware or security update for affected SonicWall SMA100 appliances and prioritize any internet-facing management interfaces. Restrict management access to trusted administrative networks or VPN-only access, disable unnecessary remote management exposure, enforce strong multifactor authentication for administrative accounts, rotate appliance credentials, and review local users for unauthorized accounts. Because the supplied package metadata references GPAC rather than SMA100, validate applicability before patching: if GPAC assets are separately in scope, upgrade Debian 11 gpac to 1.0.1+dfsg1-4+deb11u2 and gpac/gpac source builds to commit 5dd71c7201a3e5cf40732d585bfb21c906c171d3 or later; however, those package fixes should not be assumed to remediate SMA100 appliances unless confirmed by the relevant vendor advisory.
How to confirm the fix worked
Confirm the running appliance firmware version against the vendor advisory for this vulnerability and verify that the fixed release is installed. Validate that the management interface is not internet-exposed unless explicitly required and is restricted by firewall or access-control policy. Review configuration backups and administrative user lists for unexpected changes. For package-based environments referenced by the metadata, confirm Debian 11 reports gpac version 1.0.1+dfsg1-4+deb11u2 or later and source builds include commit 5dd71c7201a3e5cf40732d585bfb21c906c171d3 or later. After patching, perform authenticated testing in a controlled environment to ensure crafted shell metacharacters are rejected, encoded, or treated as inert input and do not result in command execution.
Typical attack path
- Discover an exposed SMA100 management interface through scanning, search engines, or prior reconnaissance.
- Obtain valid appliance credentials through phishing, credential reuse, password spraying, purchased credentials, or another intrusion path.
- Authenticate to the management interface.
- Submit crafted input containing shell metacharacters such as semicolons, pipes, backticks, or command substitution to a vulnerable management function.
- Trigger backend command execution as the 'nobody' user.
- Run proof commands such as id, uname, or whoami to confirm execution.
- Execute disruptive commands, create temporary artifacts, retrieve tools, or initiate outbound connections.
- Attempt to maintain access, hide activity, or pivot to adjacent systems if additional weaknesses or credentials are available.
How to detect it
Review SMA100 management access logs, web request logs, authentication records, system logs, and any available EDR/syslog telemetry forwarded from the appliance. Focus on authenticated sessions followed by requests containing shell metacharacters, URL-encoded command separators, command substitution syntax, or suspicious parameters submitted to administrative functions. Correlate those requests with process execution as the 'nobody' user, especially shells, download tools, interpreters, file modification commands, or resource-exhaustion utilities. Look for sudden appliance instability, management-service restarts, unexplained high CPU or memory usage, unexpected outbound connections, and files created in temporary or web-accessible directories. Because this vulnerability is associated with active exploitation and UNC6148 / OVERSTEP reporting, expand hunting beyond the single request: review administrative account changes, configuration exports, scheduled jobs, startup scripts, modified binaries, unusual shared objects, and outbound connections to unfamiliar infrastructure. If centralized logs are unavailable, collect appliance support bundles and compare filesystem timestamps, configuration state, and service restart history against known maintenance windows.
- uid=99(nobody)
- uid=65534(nobody)
- nobody
- /bin/sh -c
- /bin/bash -c
- /usr/bin/curl
- /usr/bin/wget
- /bin/nc
- /usr/bin/nc
- /bin/busybox
- chmod +x /tmp/
- /tmp/
- ;id
- %3Bid
- |id
- %7Cid
- `id`
- %60id%60
- $(id)
- %24%28id%29
- ;whoami
- %3Bwhoami
- ;uname -a
- %3Buname%20-a
- ;cat /etc/passwd
- %3Bcat%20/etc/passwd
- ;reboot
- %3Breboot
- ;shutdown
- %3Bshutdown
- ;sleep
- %3Bsleep%20
- ;ping
- %3Bping%20
- ;curl
- %3Bcurl%20
- ;wget
- %3Bwget%20
- sh -i
- bash -i
- /dev/tcp/
- nc -e
- mknod /tmp/
What your security team should do
- Treat this as urgent because it is in CISA KEV and has active in-the-wild exploitation despite a moderate CVSS score.
- Immediately inventory SMA100 appliances and determine whether any management interfaces are exposed to the internet or broad internal networks.
- Patch or upgrade affected appliances according to the vendor advisory; do not rely solely on the conflicting GPAC package metadata for SMA100 remediation.
- Restrict administrative access to dedicated management networks and require multifactor authentication for all appliance administrators.
- Rotate credentials for appliance users and investigate any stale, shared, or unexpected local accounts.
- Hunt for prior exploitation using web management logs, authentication logs, process execution telemetry, file-system artifacts, and outbound network connections from the appliance.
- If suspicious command execution is found, preserve appliance images/logs where possible, isolate the device, rotate related credentials, and investigate for broader intrusion or persistence consistent with UNC6148 / OVERSTEP tradecraft.
- Add SIEM detections for authenticated management requests containing encoded or raw shell metacharacters and for shell/network utilities launched under the 'nobody' user context.
The record
Improper neutralization of special elements in the SMA100 management interface allows a remote authenticated attacker to inject arbitrary commands as a 'nobody' user which potentially leads to DoS.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-96376 Improper Neutralization of Special Elements used in an OS Command ("OS Command… CWE-78
- CVE-2026-113732 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-113776 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-113726 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-113725 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-113722 virtualenv is a tool for creating isolated virtual python environments. CWE-78
- CVE-2026-112943 launch-editor allows users to open files with line numbers in editor from Node.js. CWE-78
- CVE-2026-112900 Pillow is a Python imaging library. CWE-78