D-Link UPnP M-SEARCH buffer overflow

dlink-upnp-bo (27755) The risk level is classified as HighHigh Risk

Description:

Multiple D-Link wireless and wired routers are vulnerable to a stack-based buffer overflow, caused by improper bounds checking by Universal Plug and Play (UPnP) service. By sending an M-SEARCH request with an overly long parameter to UDP port 1900, a remote attacker could overflow a buffer and execute arbitrary code on the affected device.

Platforms Affected:

  • D-Link, DI-524 Rev A
  • D-Link, DI-524 Rev C
  • D-Link, DI-524 Rev D
  • D-Link, DI-624 Rev C
  • D-Link, DI-624 Rev D
  • D-Link, DI-784 Rev A
  • D-Link, EBR-2310 Rev A
  • D-Link, WBR-1310 Rev A
  • D-Link, WBR-2310 Rev A

Remedy:

D-Link customers should upgrade to the latest firmware version for their device, available from the D-Link Web site. See References.

Consequences:

Gain Access

References:

  • D-Link Web site, D-Link TecSupport - Downloads at http://support.dlink.com/downloads/.
  • eEye Digital Security Advisory AD20060714, D-Link Router UPNP Stack Overflow at http://www.eeye.com/html/research/advisories/AD20060714.html.
  • BID-19006: Multiple D-Link Routers UPNP Buffer Overflow Vulnerability
  • CVE-2006-3687: Stack-based buffer overflow in the Universal Plug and Play (UPnP) service in D-Link DI-524, DI-604 Broadband Router, DI-624, D-Link DI-784, WBR-1310 Wireless G Router, WBR-2310 RangeBooster G Router, and EBR-2310 Ethernet Broadband Router allows remote attackers to execute arbitrary code via a long M-SEARCH request to UDP port 1900.
  • OSVDB ID: 27333: D-Link Routers UPnP M-SEARCH Request Overflow
  • SA21081: D-Link Routers UPnP M-SEARCH Request Buffer Overflow
  • SECTRACK ID: 1016511: D-Link Router UPnP Stack Overflow Lets Remote Users Execute Arbitrary Code
  • US-CERT VU#971705: Multiple D-Link routers fail to properly process UPnP M-SEARCH requests
  • VUPEN/ADV-2006-2829: D-Link Routers UPnP M-SEARCH Request Handling Remote Buffer Overflow Vulnerability

Reported:

Jul 13, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page