10.0
HIGH CVSS 2.0
CVE-2012-5960
Intel libupnp Stack-based Buffer Overflow Overwrite Vulnerability
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.

INFO

Published Date :

Jan. 31, 2013, 9:55 p.m.

Last Modified :

April 11, 2025, 12:51 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2012-5960 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Portable_sdk_for_upnp_project portable_sdk_for_upnp
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
Solution
This vulnerability in libupnp allows remote attackers to execute arbitrary code.
  • Update the affected libupnp packages to version 1.6.18 or later.
  • If libupnp is used as a third-party library, contact the vendor of that application for a fix.
Public PoC/Exploit Available at Github

CVE-2012-5960 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2012-5960.

URL Resource
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.kb.cert.org/vuls/id/922681 Patch US Government Resource
http://www.mandriva.com/security/advisories?name=MDVSA-2013:098
http://www.securityfocus.com/bid/57602 Exploit
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
https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb
https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037
https://www.tenable.com/security/research/tra-2017-10
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.kb.cert.org/vuls/id/922681 Patch US Government Resource
http://www.mandriva.com/security/advisories?name=MDVSA-2013:098
http://www.securityfocus.com/bid/57602 Exploit
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
https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb
https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037
https://www.tenable.com/security/research/tra-2017-10
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2012-5960 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVE-2012-5960, CVE-2012-5959 Proof of Concept

Python C

Updated: 5 years, 10 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 17, 2019, 9:02 a.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2012-5960 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2012-5960 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-updates/2013-02/msg00013.html
    Added Reference http://pupnp.sourceforge.net/ChangeLog
    Added Reference http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp
    Added Reference http://www.debian.org/security/2013/dsa-2614
    Added Reference http://www.debian.org/security/2013/dsa-2615
    Added Reference http://www.kb.cert.org/vuls/id/922681
    Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2013:098
    Added Reference http://www.securityfocus.com/bid/57602
    Added Reference https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play
    Added Reference https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf
    Added Reference https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb
    Added Reference https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037
    Added Reference https://www.tenable.com/security/research/tra-2017-10
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 03, 2017

    Action Type Old Value New Value
    Added Reference https://www.tenable.com/security/research/tra-2017-10 [No Types Assigned]
  • Modified Analysis by [email protected]

    Sep. 01, 2015

    Action Type Old Value New Value
    Changed Reference Type http://www.securityfocus.com/bid/57602 No Types Assigned http://www.securityfocus.com/bid/57602 Exploit
  • CVE Modified by [email protected]

    May. 14, 2015

    Action Type Old Value New Value
    Added Reference https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb
    Added Reference http://www.securityfocus.com/bid/57602
  • Initial Analysis by [email protected]

    Feb. 01, 2013

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 10
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

55.99 }} 9.63%

score

0.97895

percentile