Rapid7 Vulnerability & Exploit Database

Portable UPnP SDK unique_service_name() Remote Code Execution

Back to Search

Portable UPnP SDK unique_service_name() Remote Code Execution

Disclosed
01/29/2013
Created
05/30/2018

Description

This module exploits a buffer overflow in the unique_service_name() function of libupnp's SSDP processor. The libupnp library is used across thousands of devices and is referred to as the Intel SDK for UPnP Devices or the Portable SDK for UPnP Devices. Due to size limitations on many devices, this exploit uses a separate TCP listener to stage the real payload.

Author(s)

  • hdm <x@hdm.io>
  • Alex Eubanks <endeavor@rainbowsandpwnies.com>
  • Richard Harman <richard@richardharman.com>
  • Frederic Basse <contact@fredericb.info>

Platform

Unix

Architectures

cmd

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/upnp/libupnp_ssdp_overflow
msf exploit(libupnp_ssdp_overflow) > show targets
    ...targets...
msf exploit(libupnp_ssdp_overflow) > set TARGET < target-id >
msf exploit(libupnp_ssdp_overflow) > show options
    ...show and set options...
msf exploit(libupnp_ssdp_overflow) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;