CVE-2012-5960: libupnp - Buffer Overflow
- Cve: CVE-2012-5960
- Name: libupnp - Buffer Overflow
- Description: 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.
- Impact: Remote attackers can execute arbitrary code on the affected system, potentially leading to full system compromise.
- Remediation: Update to version 1.6.18 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 10
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
- Epss score: 0.32627
- Epss percentile: 0.98381
- Assignee: [email protected]
- Published at: 2013-01-31T21:55:01Z
- Age in days: 5045
- Modified at: 2026-06-16T23:47:38Z
- Patch available: yes
- Public exploits total: 2
- References total: 13
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-5960
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.securityfocus.com/bid/57602 | nvd | 2013-01-31 |
| https://github.com/finn79426/CVE-2012-5960-PoC | poc-in-github | 2019-10-17 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| portable_sdk_for_upnp_project:portable_sdk_for_upnp | <= 1.6.17, = 1.6.16, = 1.6.15, = 1.6.14, = 1.6.13, = 1.6.12, = 1.6.11, = 1.6.10, = 1.6.9, = 1.6.8, = 1.6.7, = 1.6.6, = 1.6.5, = 1.6.4, = 1.6.3, = 1.6.2, = 1.6.1, = 1.6.0, = 1.4.7, = 1.4.6, = 1.4.5, = 1.4.4, = 1.4.3, = 1.4.2, = 1.4.1, = 1.4.0 | no | nvd | /v1/products/portable_sdk_for_upnp_project/portable_sdk_for_upnp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2013-01-31
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts