SecurityContext

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

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

Public exploits

UrlSourceAdded date
http://www.securityfocus.com/bid/57602nvd2013-01-31
https://github.com/finn79426/CVE-2012-5960-PoCpoc-in-github2019-10-17

References

Same in every row:

  • Source: nvd
UrlTags
http://www.kb.cert.org/vuls/id/922681Patch, US Government Resource
http://www.securityfocus.com/bid/57602Exploit
http://lists.opensuse.org/opensuse-updates/2013-02/msg00013.html
http://pupnp.sourceforge.net/ChangeLog
http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp
http://www.debian.org/security/2013/dsa-2614
http://www.debian.org/security/2013/dsa-2615
http://www.mandriva.com/security/advisories?name=MDVSA-2013:098
https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play
https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf

Products

ProductAffectedPlatform boundSourcesUrl
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.0nonvd/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