AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.

Summary

The cgiPortMapQrySwitch function in portmapcfg.cmd on the D-Link DSL-2640B fails to safely handle the pmapCfgName argument, allowing OS command injection remotely. A public exploit exists, so attackers could run commands on the device.

Impact: remote OS command injection

Affected technologies

  • D-Link DSL-2640B 3.0.6.0.41

Check D-Link advisories for a patch or end-of-life status, and block remote access to the management interface, replacing the device if it is unsupported.

Details

   
CVSS 9.3 (Critical)
Vendor / product D-Link DSL-2640B
Published 2026-11-29
Weakness CWE-77, CWE-78
Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Original description

A flaw has been found in D-Link DSL-2640B 3.0.6.0.41. The impacted element is the function cgiPortMapQrySwitch of the file portmapcfg.cmd of the component Endpoint. This manipulation of the argument pmapCfgName causes os command injection. The attack can be initiated remotely. The exploit has been published and may be used.

References

← Threat intelligence dashboard