SecurityContext

CVE-2012-5959: libupnp - Buffer Overflow

  • Cve: CVE-2012-5959
  • 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 uuid) field within a string that contains a :: (colon colon) in a UDP packet.
  • Impact: Remote attackers can execute arbitrary code on the affected system via crafted UDP packets, potentially leading to full system compromise.
  • Remediation: Update to version 1.6.18 or later to fix the vulnerability.
  • 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.75796
  • Epss percentile: 0.99533
  • 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: 19
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-5959
  • Nvd status: modified
  • Checked, none or zero: 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

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2018-07-13—no

Public exploits

UrlSourceAdded date
http://www.securityfocus.com/bid/57602nvd2013-01-31
https://github.com/finn79426/CVE-2012-5960-PoC.gitvulncheck-xdb2019-10-17

References

UrlSourceTags
http://www.kb.cert.org/vuls/id/922681nvdPatch, US Government Resource
http://www.securityfocus.com/bid/57602nvdExploit
https://www.researchgate.net/publication/348602660_An_analysis_of_the_use_of_CVEs_by_IoT_malwarevulncheckVulncheck Reported Exploitation
https://www.trendmicro.com/en_us/research/18/g/vpnfilter-affected-devices-still-riddled-with-19-vulnerabilities.htmlvulncheckVulncheck Reported Exploitation
http://lists.opensuse.org/opensuse-updates/2013-02/msg00013.htmlnvd
http://pupnp.sourceforge.net/ChangeLognvd
http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnpnvd
http://tsd.dlink.com.tw/temp/PMD/12879/DSR-500_500N_1000_1000N_A1_Release_Notes_FW_v1.08B77_WW.pdfnvd
http://tsd.dlink.com.tw/temp/PMD/12960/DSR-150N_A2_Release_Notes_FW_v1.05B64_WW.pdfnvd
http://tsd.dlink.com.tw/temp/PMD/12966/DSR-150_A1_A2_Release_Notes_FW_v1.08B44_WW.pdfnvd

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

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2018-07-13
  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2013-01-31
  • Remote: yes
  • Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
  • Not known: known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts