Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2277+ Articles
157+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-71949: D-Link DWR-M961 Command Injection via formUSSDSetup
CVE-2026-71949: D-Link DWR-M961 Command Injection via formUSSDSetup

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-71949

CVE-2026-71949: D-Link DWR-M961 Command Injection via formUSSDSetup

A critical unauthenticated command injection vulnerability in D-Link DWR-M961 routers enables remote code execution through the ussdValue and selectMenuValue fields in the formUSSDSetup interface. CVSS 9.8.

Dylan H.

Security Team

August 9, 2026
4 min read

Affected Products

  • D-Link DWR-M961 (Hardware C1) — Firmware < 1.1.5_C1_202607071108

Executive Summary

CVE-2026-71949 is a critical command injection vulnerability in D-Link DWR-M961 routers (hardware version C1) with firmware prior to 1.1.5_C1_202607071108. The flaw is located in the /boafrm/formUSSDSetup interface, where the ussdValue and selectMenuValue parameters accept unsanitized input that is passed directly to the underlying OS shell.

CVSS Score: 9.8 (Critical)

This is the second of four command injection CVEs (CVE-2026-71948 to CVE-2026-71951) disclosed simultaneously for the same router model. All exploit the same root cause — missing input sanitization in the router's boahttp web daemon — across different functional interfaces. Firmware version 1.1.5_C1_202607071108 patches all four.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-71949
CVSS Score9.8 (Critical)
TypeCommand Injection (CWE-77)
Vulnerable Interface/boafrm/formUSSDSetup
Vulnerable ParametersussdValue, selectMenuValue
Attack VectorNetwork
Privileges RequiredNone
User InteractionNone
Fixed Firmware1.1.5_C1_202607071108

Affected Devices

DeviceHardware VersionAffected FirmwareFixed Version
D-Link DWR-M961C1< 1.1.5_C1_2026070711081.1.5_C1_202607071108

Technical Details

The /boafrm/formUSSDSetup endpoint manages USSD (Unstructured Supplementary Service Data) configuration for the router's integrated cellular modem. USSD is the GSM protocol used for mobile operator service codes (e.g., *100# for balance checks). The router accepts USSD string values via a web form and passes them to the modem subsystem without validation.

By injecting shell metacharacters into the ussdValue or selectMenuValue fields, an attacker can escape the intended command context and execute arbitrary OS commands with the privileges of the web daemon (typically root on embedded devices).

Exploit Chain

1. Attacker identifies DWR-M961 C1 with management interface reachable
2. Crafted POST sent to /boafrm/formUSSDSetup
3. ussdValue or selectMenuValue contains injected shell commands
4. boahttp web daemon passes value to system() without sanitization
5. Commands execute — full device control achieved
6. Attacker may additionally abuse USSD stack for SIM-based attacks

Example Payload Structure

POST /boafrm/formUSSDSetup HTTP/1.1
Host: <router-ip>
Content-Type: application/x-www-form-urlencoded
 
ussdValue=*100%23;cat+/etc/passwd&selectMenuValue=1

Impact Scope

ImpactDescription
Remote Code ExecutionArbitrary OS commands as root
Credential ExtractionWi-Fi PSK, admin password from NVRAM
Cellular Modem AbusePotential to send arbitrary USSD to carrier
Persistent BackdoorMalware installed with reboot persistence
Network PivotLateral movement to LAN hosts
Botnet EnrollmentIoT botnet recruitment (Mirai variants)

Immediate Remediation

Step 1: Apply Firmware Update

Update to 1.1.5_C1_202607071108 or later:

  1. Log in to the admin interface (typically http://192.168.0.1)
  2. Go to Maintenance > Firmware Upgrade
  3. Upload and apply the firmware from D-Link's support portal
  4. After reboot, confirm the version under Status > Device Info

Step 2: Restrict Management Access

1. Confirm WAN-side management is disabled (Settings > Remote Management)
2. Restrict admin panel access to trusted LAN IPs only
3. Change default admin credentials immediately if not already done
4. Disable USSD configuration if cellular USSD features are not in use

Step 3: Check for Compromise Indicators

# List running processes on device (if shell access available)
ps
 
# Check for unrecognized listening ports
netstat -tlnp
 
# Review iptables for unexpected rules
iptables -L -n -v

Detection

IndicatorDescription
POST to /boafrm/formUSSDSetup with %3B, %26, or backtick charactersExploitation attempt
Unusual outbound TCP/UDP from router IPC2 or data exfiltration
Elevated CPU on device with no trafficCryptomining or scanning activity
Admin account lockout or password changeAttacker takeover

Related CVEs in This Advisory Series

CVEInterfaceVulnerable Field
CVE-2026-71948/boafrm/formDebugDiagnosticRunhost
CVE-2026-71949 (this advisory)/boafrm/formUSSDSetupussdValue, selectMenuValue
CVE-2026-71950/boafrm/formSmsManageaction_value
CVE-2026-71951/boafrm/formIMEISetupIMEI_value

References

  • NIST NVD — CVE-2026-71949
  • D-Link Security Advisory
#D-Link#Command Injection#CVE-2026-71949#Router Security#Network Devices#RCE

Related Articles

CVE-2026-71948: D-Link DWR-M961 Command Injection via formDebugDiagnosticRun

A critical unauthenticated command injection vulnerability in D-Link DWR-M961 routers allows remote attackers to execute arbitrary commands via the host field in the formDebugDiagnosticRun interface. CVSS 9.8.

5 min read

CVE-2026-71950: D-Link DWR-M961 Command Injection via formSmsManage

A critical unauthenticated command injection in the D-Link DWR-M961 SMS management interface allows remote attackers to execute arbitrary OS commands via the action_value field. CVSS 9.8.

4 min read

CVE-2026-71951: D-Link DWR-M961 Command Injection via formIMEISetup

A critical unauthenticated command injection vulnerability in D-Link DWR-M961 routers allows remote code execution by injecting OS commands into the IMEI_value field of the formIMEISetup interface. CVSS 9.8.

5 min read
Back to all Security Alerts