Cisco Security Advisory

Portable SDK for UPnP Devices Contains Buffer Overflow Vulnerabilities

Advisory ID: cisco-sa-20130129-upnp

http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp

Revision 1.2

Last Updated  2013 February 13 22:34  UTC (GMT)

For Public Release 2013 January 29 20:00  UTC (GMT)


Summary

The Portable Software Developer Kit (SDK) for Universal Plug-n-Play (UPnP) Devices contains a libupnp library, originally known as the Intel SDK for UPnP Devices, which is vulnerable to multiple stack-based buffer overflows when handling malicious Simple Service Discovery Protocol (SSDP) requests. This library is used in several vendor network devices, in addition to media streaming and file sharing applications. These vulnerabilities were disclosed on January 29th, 2013 in a CERT Vulnerability Note, VU#922681, which can be viewed at http://www.kb.cert.org/vuls/id/922681.

Cisco is currently evaluating products for possible exposure to these vulnerabilities. This advisory is available at the following link:
http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp

Affected Products

Cisco is currently evaluating products for possible exposure to these UPnP vulnerabilities. Products will only be listed in the "Vulnerable Products" or "Products Confirmed Not Vulnerable" sections of this advisory when a final determination about product exposure is made. Products that are not listed in either of these two sections are still being evaluated.

Vulnerable Products

The following products are affected by vulnerabilities that are described in this advisory:
  • Cisco TelePresence C Series Endpoints
  • Cisco TelePresence System EX Series
  • Cisco TelePresence SX20
This section will be updated when more information is available.

Products Confirmed Not Vulnerable

The following products are not affected by the vulnerabilities that are described in this advisory:
  • Cisco TelePresence EC20
  • Cisco Telepresence Touch Devices
Cisco Products based on IOS, IOS-XE, IOS-XR, and NX-OS do not use libupnp and are not affected.

The Cisco ASA Series Adaptive Security Appliance and the Firewall Services Modules (FWSM) do not use libupnp and are not affected.

This section will be updated when more information is available.

Details

UPnP™ is an architecture that enables discovery, event notification, and control of devices on a network, independent of operating system, programming language, or physical network connection. UPnP™ is based on common Internet standards and specifications such as TCP/IP, HTTP, and XML.

The Portable SDK for UPnP Devices is affected by at least three remotely exploitable buffer overflows. These vulnerabilities can be exploited in the processing of incoming SSDP requests on UDP port 1900. CERT released the following CVE IDs to document these vulnerabilities: CVE-2012-5958, CVE-2012-5959, CVE-2012-5960, CVE-2012-5961, CVE-2012-5962, CVE-2012-5963, CVE-2012-5964, and CVE-2012-5965.

The following Cisco bug IDs are being used to track potential exposure to the UPnP issues. The bugs listed below do not confirm that a product is vulnerable, but rather that the product is under investigation by the appropriate product teams.

Registered Cisco customers can view these bugs via the Cisco Bug Toolkit: http://www.cisco.com/pcgi-bin/Support/Bugtool/launch_bugtool.pl


Product Bug ID
Cisco AP541N Wireless Access Point CSCue19294
Cisco NSS300 Series Smart Storage** CSCue19395
Cisco PVC2300 Business Internet Video Camera** CSCue21009
Cisco RV0XX Series Routers** CSCue20980
Cisco RV220W Wireless Network Security Firewall CSCue20983
Cisco RV120W Wireless-N VPN Firewall CSCue20983
Cisco RVL200 VPN Router** CSCue20989
Cisco RVS4000 Gigabit Security Router** CSCue20997
Cisco Small Business ISA500 Series Integrated Security Appliances CSCue19341
Cisco Small Business SA500 Series Security Appliances CSCue21031
Cisco TelePresence C Series Endpoints CSCue19318
Cisco TelePresence System EX Series CSCue19318
Cisco TelePresence SX20 CSCue19318
Cisco WAP4400N Wireless-N Access Point CSCue21567
Cisco WET200 Wireless-G Business Ethernet Bridge CSCue21572
Cisco WRVS4400N Wireless-N Gigabit Security Router** CSCue21578
Cisco WRV200 Wireless-G VPN Router** CSCue21578


**NOTE: This product is no longer being sold and might not be supported.

View the NSS3000 End-of-Life Notice at http://www.cisco.com/en/US/prod/collateral/ps4159/ps9954/ps9957/end_of_life_c51_606545.html.

View the PVC2300 End-of-Life Notice at http://www.cisco.com/en/US/prod/collateral/vpndevc/ps6918/ps9692/ps9944/end_of_life_notice_c51-685005.html.

View the RV Series Routers End-of-Life Notices at http://www.cisco.com/en/US/products/ps9923/prod_eol_notices_list.html

Vulnerability Scoring Details

Cisco has scored the vulnerabilities in this advisory based on the Common Vulnerability Scoring System (CVSS). The CVSS scoring in this security advisory is in accordance with CVSS version 2.0.

CVSS is a standards-based scoring method that conveys vulnerability severity and helps organizations determine the urgency and priority of a response.

Cisco has provided a base and temporal score. Customers can also compute environmental scores that help determine the impact of the vulnerabilities in their own networks.

Cisco has provided additional information regarding CVSS at the following link:

http://www.cisco.com/web/about/security/intelligence/cvss-qandas.html

Cisco has also provided a CVSS calculator to compute the environmental impact for individual networks at the following link:

http://intellishield.cisco.com/security/alertmanager/cvss


Portable SDK for UPnP Devices  Buffer Overflow Vulnerability

Calculate the environmental score of CSCue21031

CVSS Base Score - 10.0

Access Vector

Access Complexity

Authentication

Confidentiality Impact

Integrity Impact

Availability Impact

Network

Low

None

Complete

Complete

Complete

CVSS Temporal Score - 9.0

Exploitability

Remediation Level

Report Confidence

Proof-of-Concept

Unavailable

Confirmed

Impact

A remote, unauthenticated attacker could send a malicious SSDP request to an affected device, triggering a buffer overflow. Successful exploitation of the vulnerability could allow arbitrary command execution or a disruption of services on the affected device.

Software Versions and Fixes

When considering software upgrades, customers are advised to consult the Cisco Security Advisories, Responses, and Notices archive at http://www.cisco.com/go/psirt and review subsequent advisories to determine exposure and a complete upgrade solution.

In all cases, customers should ensure that the devices to be upgraded contain sufficient memory and confirm that current hardware and software configurations will continue to be supported properly by the new release. If the information is not clear, customers are advised to contact the Cisco Technical Assistance Center (TAC) or their contracted maintenance providers.

Workarounds

UPnP can be disabled on many devices using the Web User Interface. Instructions on how to disable UPnP are generally given in the Product Administration Guide. For example, in the "Configuring Basic Firewall Settings" section of the RV-120W Administration Guide, there is a checkbox to enable/disable UPnP. For additional information, see http://www.cisco.com/en/US/docs/routers/csbr/rv110w/administration/guide/rv110w_admin.pdf#page84.

Customers should follow basic hardening rules when configuring wireless devices, such as not allowing "Guest" access and requiring authentication credentials to login.

Customers can also block traffic from untrusted hosts on UDP port 1900 to affected devices using infrastructure access control lists (iACLs). This protection mechanism filters and drops packets that are attempting to exploit these vulnerabilities.

Effective exploit prevention can also be provided by the Cisco ASA 5500 Series Adaptive Security Appliance and the Firewall Services Module (FWSM) for Cisco Catalyst 6500 Series switches and Cisco 7600 Series routers using transit access control lists (tACLs).

Cisco has released an Applied Mitigation Bulletin (AMB) that explains how to detect and mitigate potential exploitation of these vulnerabilities. The AMB is available at:  http://tools.cisco.com/security/center/viewAMBAlert.x?alertId=28005

Obtaining Fixed Software

This section will be updated to include fixed software versions for affected Cisco products as they become available.

When considering software upgrades, also consult http://www.cisco.com/go/psirt and any subsequent advisories to determine exposure and a complete upgrade solution.

Customers may only install and expect support for feature sets they have purchased. By installing, downloading, accessing, or otherwise using such software upgrades, customers agree to follow the terms of the Cisco software license at http://www.cisco.com/en/US/docs/general/warranty/English/EU1KEN_.html.

Customers with Service Contracts

Customers with contracts should obtain upgraded software through their regular update channels. For most customers, upgrades should be obtained through the Software Navigator on Cisco.com at http://www.cisco.com/cisco/software/navigator.html.

Customers Using Third-Party Support Organizations

Customers with Cisco products that are provided or maintained through prior or existing agreements with third-party support organizations, such as Cisco Partners, authorized resellers, or service providers, should contact that organization for assistance with the appropriate course of action.

The effectiveness of any workaround or fix depends on specific customer situations, such as product mix, network topology, traffic behavior, and organizational mission. Because of the variety of affected products and releases, customers should consult their service providers or support organizations to ensure that any applied workaround or fix is the most appropriate in the intended network before it is deployed.

Customers Without Service Contracts

Customers who purchase directly from Cisco but do not hold a Cisco service contract and customers who make purchases through third-party vendors but are unsuccessful in obtaining fixed software through their point of sale should obtain upgrades by contacting the Cisco Technical Assistance Center (TAC):
  • +1 800 553 2447 (toll free from within North America)
  • +1 408 526 7209 (toll call from anywhere in the world)
  • e-mail: tac@cisco.com
Customers should have the product serial number available and be prepared to provide the URL of this advisory as evidence of entitlement to a free upgrade. Customers without service contracts should request free upgrades through the TAC.

Refer to Cisco Worldwide Contacts at http://www.cisco.com/en/US/support/tsd_cisco_worldwide_contacts.html for additional TAC contact information, including localized telephone numbers, instructions, and e-mail addresses for support in various languages.

Exploitation and Public Announcements

This issue was coordinated and disclosed by CERT-CC. Their Vulnerability Note can be viewed at http://www.kb.cert.org/vuls/id/922681.

This vulnerability was discovered by HD Moore and reported to Cisco by JP-CERT and US-CERT.

Status of This Notice: Interim

THIS DOCUMENT IS PROVIDED ON AN "AS IS" BASIS AND DOES NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE INFORMATION ON THE DOCUMENT OR MATERIALS LINKED FROM THE DOCUMENT IS AT YOUR OWN RISK. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE THIS DOCUMENT AT ANY TIME. CISCO EXPECTS TO UPDATE THIS DOCUMENT AS NEW INFORMATION BECOMES AVAILABLE.

A stand-alone copy or Paraphrase of the text of this document that omits the distribution URL in the following section is an uncontrolled copy, and may lack important information or contain factual errors.


Distribution

This advisory is posted on Cisco Security Intelligence Operations at the following link:

http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp

Additionally, a text version of this advisory is clear signed with the Cisco PSIRT PGP key and circulated among the following e-mail addresses:

  • cust-security-announce@cisco.com
  • first-bulletins@lists.first.org
  • bugtraq@securityfocus.com
  • vulnwatch@vulnwatch.org
  • cisco@spot.colorado.edu
  • cisco-nsp@puck.nether.net
  • full-disclosure@lists.grok.org.uk

Future updates of this advisory, if any, will reside on Cisco.com but may not be announced on mailing lists. Users can monitor this advisory's URL for any updates.


Revision History

Revision 1.2 2013-February-13 Added Confirmed Products to Affected list and added EOS/EOL notice for RV Series Routers.
Revision 1.1 2013-January-30 Added a link to the Cisco Applied Mitigation Bulletin.
Revision 1.0 2013-January-29 Initial public release.

Cisco Security Procedures

Complete information about reporting security vulnerabilities in Cisco products, obtaining assistance with security incidents, and registering to receive security information from Cisco is available on Cisco.com at http://www.cisco.com/web/about/security/psirt/security_vulnerability_policy.html. This web page includes instructions for press inquiries regarding Cisco Security Advisories. All Cisco Security Advisories are available at http://www.cisco.com/go/psirt.


Download this document (PDF)
View Printable Version