CVE-2012-5960
published 2013-01-31CVE-2012-5960: Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable SDK for UPnP Devices (aka libupnp…
PriorityP272critical10CVSS 2.0
AVNACLAuNCCICAC
EXPLOIT
EPSS
32.63%
98.1th percentile
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable SDK for UPnP Devices (aka libupnp, formerly the Intel SDK for UPnP devices) before 1.6.18 allows remote attackers to execute arbitrary code via a long UDN (aka upnp:rootdevice) field in a UDP packet.
Affected
26 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | <= 1.6.17 | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
| portable_sdk_for_upnp_project | portable_sdk_for_upnp | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Detect exploitation attempts by monitoring for malformed SSDP UDP packets containing an abnormally long UDN (upnp:rootdevice) field targeting the unique_service_name function in ssdp/ssdp_server.c ↗
- →Monitor for malicious SSDP requests over UDP; the vulnerable code path is in the SSDP parser (ssdp/ssdp_server.c) of libupnp (portable SDK for UPnP Devices) versions before 1.6.18 ↗
- →Inspect network traffic for oversized SSDP messages; the vulnerability is triggered via specially-crafted SSDP requests containing a long UDN field ↗
- ·Multiple Cisco products were identified as potentially exposed; Cisco tracked this under Bug IDs CSCue19318, CSCue20997, and CSCue21009. Verify whether network devices in scope use the affected libupnp library. ↗
- ·GUPnP is NOT affected — it is an independent implementation of the UPnP standard entirely different from libupnp. Do not conflate the two in detection or patching scope. ↗
- ·The vulnerability affects libupnp (formerly Intel SDK for UPnP Devices) before version 1.6.18, and is also present in media streaming and file sharing applications that bundle the library — not just network devices. ↗
CVSS provenance
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
vendor_redhat10.0CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-qvmf-vjjj-h72w: Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server
ghsa_unreviewed·2022-05-17
CVE-2012-5960 [HIGH] CWE-119 GHSA-qvmf-vjjj-h72w: Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable SDK for UPnP Devices (aka libupnp, formerly the Intel SDK for UPnP devices) before 1.6.18 allows remote attackers to execute arbitrary code via a long UDN (aka upnp:rootdevice) field in a UDP packet.
Red Hat
libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing specially-crafted SSDP request (VU#922681)
vendor_redhat·2013-01-29·CVSS 10.0
CVE-2012-5960 [CRITICAL] CWE-121 libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing specially-crafted SSDP request (VU#922681)
libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing specially-crafted SSDP request (VU#922681)
Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable SDK for UPnP Devices (aka libupnp, formerly the Intel SDK for UPnP devices) before 1.6.18 allows remote attackers to execute arbitrary code via a long UDN (aka upnp:rootdevice) field in a UDP packet.
Statement: Not vulnerable. This issue did not affect GUPnP, which is an independent implementation of the UPnP standard, entirely different from libupnp. libupnp, while affected, is not provided by any version of Red Hat Enterprise Linux.
Cisco
Portable SDK for UPnP Devices Contains Buffer Overflow Vulnerabilities
vendor_cisco
CVE-2012-5960 Portable SDK for UPnP Devices Contains Buffer Overflow Vulnerabilities
CVE-2012-5960: Portable SDK for UPnP Devices Contains Buffer Overflow Vulnerabilities
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 lin
No detection rules found.
Bugzilla
CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing sp
bugzilla·2013-01-30·CVSS 10.0
CVE-2012-5958 [CRITICAL] CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing sp
CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing specially-crafted SSDP request (VU#922681) [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as w
Bugzilla
CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing sp
bugzilla·2013-01-30·CVSS 10.0
CVE-2012-5958 [CRITICAL] CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing sp
CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing specially-crafted SSDP request (VU#922681) [epel-5]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as
Bugzilla
CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 ibupnp: Multiple stack-based buffer overflows in unique_service_name() by processing spe
bugzilla·2013-01-29·CVSS 10.0
CVE-2012-5958 [CRITICAL] CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 ibupnp: Multiple stack-based buffer overflows in unique_service_name() by processing spe
CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 ibupnp: Multiple stack-based buffer overflows in unique_service_name() by processing specially-crafted SSDP request (VU#922681) [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as
Bugzilla
CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 ibupnp: Multiple stack-based buffer overflows in unique_service_name() by processing spe
bugzilla·2013-01-29·CVSS 10.0
CVE-2012-5958 [CRITICAL] CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 ibupnp: Multiple stack-based buffer overflows in unique_service_name() by processing spe
CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 ibupnp: Multiple stack-based buffer overflows in unique_service_name() by processing specially-crafted SSDP request (VU#922681) [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as we
Bugzilla
CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing sp
bugzilla·2012-12-05·CVSS 10.0
CVE-2012-5958 [CRITICAL] CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing sp
CVE-2012-5958 CVE-2012-5959 CVE-2012-5960 CVE-2012-5961 CVE-2012-5962 CVE-2012-5963 CVE-2012-5964 CVE-2012-5965 libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing specially-crafted SSDP request (VU#922681)
Multiple stack-based buffer overflow flaws were found in the way SSDP server component of libupnp, the Universal Plug and Play (UPnP) software development kit (SDK), performed assigment of various fields (like DeviceType, DeviceUDN or Service Type) to the SSDP event structure based on service name string. A remote attacker could provide a specially-crafted SSDP request that, when processed in an application linked against libupnp would lead to that application crash or, potentially, arbitrary code execution with the privileges of the user running the a
http://lists.opensuse.org/opensuse-updates/2013-02/msg00013.htmlhttp://pupnp.sourceforge.net/ChangeLoghttp://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnphttp://www.debian.org/security/2013/dsa-2614http://www.debian.org/security/2013/dsa-2615http://www.kb.cert.org/vuls/id/922681http://www.mandriva.com/security/advisories?name=MDVSA-2013:098http://www.securityfocus.com/bid/57602https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-playhttps://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdfhttps://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFbhttps://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037https://www.tenable.com/security/research/tra-2017-10http://lists.opensuse.org/opensuse-updates/2013-02/msg00013.htmlhttp://pupnp.sourceforge.net/ChangeLoghttp://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnphttp://www.debian.org/security/2013/dsa-2614http://www.debian.org/security/2013/dsa-2615http://www.kb.cert.org/vuls/id/922681http://www.mandriva.com/security/advisories?name=MDVSA-2013:098http://www.securityfocus.com/bid/57602https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-playhttps://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdfhttps://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFbhttps://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037https://www.tenable.com/security/research/tra-2017-10
2013-01-31
Published