FKIE_CVE-2012-5958

Vulnerability from fkie_nvd - Published: 2013-01-31 21:55 - Updated: 2025-04-11 00:51
Severity ?
Summary
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 UDP packet with a crafted string that is not properly handled after a certain pointer subtraction.
References
cret@cert.orghttp://lists.opensuse.org/opensuse-updates/2013-02/msg00013.html
cret@cert.orghttp://packetstormsecurity.com/files/160242/libupnp-1.6.18-Denial-Of-Service.html
cret@cert.orghttp://pupnp.sourceforge.net/ChangeLog
cret@cert.orghttp://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp
cret@cert.orghttp://tsd.dlink.com.tw/temp/PMD/12879/DSR-500_500N_1000_1000N_A1_Release_Notes_FW_v1.08B77_WW.pdf
cret@cert.orghttp://tsd.dlink.com.tw/temp/PMD/12960/DSR-150N_A2_Release_Notes_FW_v1.05B64_WW.pdf
cret@cert.orghttp://tsd.dlink.com.tw/temp/PMD/12966/DSR-150_A1_A2_Release_Notes_FW_v1.08B44_WW.pdf
cret@cert.orghttp://tsd.dlink.com.tw/temp/PMD/13039/DSR-250_250N_A1_A2_Release_Notes_FW_v1.08B44_WW_RU.pdf
cret@cert.orghttp://www.debian.org/security/2013/dsa-2614
cret@cert.orghttp://www.debian.org/security/2013/dsa-2615
cret@cert.orghttp://www.kb.cert.org/vuls/id/922681Patch, US Government Resource
cret@cert.orghttp://www.mandriva.com/security/advisories?name=MDVSA-2013:098
cret@cert.orghttp://www.securityfocus.com/bid/57602Exploit
cret@cert.orghttps://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play
cret@cert.orghttps://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf
cret@cert.orghttps://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb
cret@cert.orghttps://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037
cret@cert.orghttps://www.tenable.com/security/research/tra-2017-10
af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-updates/2013-02/msg00013.html
af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/160242/libupnp-1.6.18-Denial-Of-Service.html
af854a3a-2127-422b-91ae-364da2661108http://pupnp.sourceforge.net/ChangeLog
af854a3a-2127-422b-91ae-364da2661108http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp
af854a3a-2127-422b-91ae-364da2661108http://tsd.dlink.com.tw/temp/PMD/12879/DSR-500_500N_1000_1000N_A1_Release_Notes_FW_v1.08B77_WW.pdf
af854a3a-2127-422b-91ae-364da2661108http://tsd.dlink.com.tw/temp/PMD/12960/DSR-150N_A2_Release_Notes_FW_v1.05B64_WW.pdf
af854a3a-2127-422b-91ae-364da2661108http://tsd.dlink.com.tw/temp/PMD/12966/DSR-150_A1_A2_Release_Notes_FW_v1.08B44_WW.pdf
af854a3a-2127-422b-91ae-364da2661108http://tsd.dlink.com.tw/temp/PMD/13039/DSR-250_250N_A1_A2_Release_Notes_FW_v1.08B44_WW_RU.pdf
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2013/dsa-2614
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2013/dsa-2615
af854a3a-2127-422b-91ae-364da2661108http://www.kb.cert.org/vuls/id/922681Patch, US Government Resource
af854a3a-2127-422b-91ae-364da2661108http://www.mandriva.com/security/advisories?name=MDVSA-2013:098
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/57602Exploit
af854a3a-2127-422b-91ae-364da2661108https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play
af854a3a-2127-422b-91ae-364da2661108https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf
af854a3a-2127-422b-91ae-364da2661108https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb
af854a3a-2127-422b-91ae-364da2661108https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037
af854a3a-2127-422b-91ae-364da2661108https://www.tenable.com/security/research/tra-2017-10

{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "AFE41E67-9E78-4C12-8E39-C9F78D4A0780",
              "versionEndIncluding": "1.6.17",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.4.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "90DE5933-78E5-4D2E-8298-9FF6D3E8B13D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.4.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "1610A555-A92F-447C-A3A2-380EE0E2D92A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.4.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "1EB0C576-10C0-4908-9196-B727DD5B57BF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.4.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "BD8110DB-EBA7-405E-BA1A-3392855938B2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.4.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "0CA3603A-B7A4-40D9-9A41-4CF190AED62C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.4.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "14DD33E0-C89D-43DD-BA50-210BA586106C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.4.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "8ECD8AE2-44DF-4745-92EE-3544632334DE",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.4.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "6B9F1C0B-FE77-43C0-A7D8-194B1679B6A8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "DFAB1B2E-E2B2-4FA8-8378-56DF6605D4CE",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "587F364D-9FEA-4D51-AA8C-36B002A2D4C7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "0E18E58C-D60B-48EB-BE2F-A780F1134FD7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "8821D34D-AFA8-4731-94B3-012D40A13659",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "8F3C9F1F-1DA4-45F8-801E-6864D7FC84F3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "F60BFD1D-33FE-4D1C-95BE-7544CECFEDF1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "58CC147F-E4F7-4DE8-95E0-AD85450C90E2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "850AEC5A-F477-408C-8C57-703A3AD32FE2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "421F7B7A-6B3A-433F-97DA-DB9272967529",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "2F57EECF-DBDB-4DD3-9628-04B160CACC33",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.10:*:*:*:*:*:*:*",
              "matchCriteriaId": "132B0808-1754-415A-9C28-46C61849FBE1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.11:*:*:*:*:*:*:*",
              "matchCriteriaId": "2FA8C2E3-AB91-4207-9F3C-5547614AD435",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.12:*:*:*:*:*:*:*",
              "matchCriteriaId": "BC02DA1B-6206-4A8F-83EB-CE71811B98D0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.13:*:*:*:*:*:*:*",
              "matchCriteriaId": "B28AA873-F88C-4FF8-8EE0-034762CBF8D0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.14:*:*:*:*:*:*:*",
              "matchCriteriaId": "55070B65-0791-4607-B8B4-1EE0F9A16B18",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.15:*:*:*:*:*:*:*",
              "matchCriteriaId": "B8F760CF-5E09-407B-988B-8EE56A2A7D2E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:libupnp_project:libupnp:1.6.16:*:*:*:*:*:*:*",
              "matchCriteriaId": "D7246DBA-8B81-4DAA-BBD4-2DD6B368D250",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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 UDP packet with a crafted string that is not properly handled after a certain pointer subtraction."
    },
    {
      "lang": "es",
      "value": "Desbordamiento de b\u00fafer basado en la pila en la funci\u00f3n unique_service_name en ssdp/ssdp_server.c en el validador SSDP del SDK para dispositivos UPnP (tambi\u00e9n conocido como libupnp, anteriormente el SDK Intel para dispositivos UPnP) v1.6.18 que permite a atacantes remotos ejecutar c\u00f3digo arbitrario a trav\u00e9s de un paquete UDP con una cadena modificada que no es manejada adecuadamente despu\u00e9s de la resta de un determinado puntero."
    }
  ],
  "evaluatorImpact": "Per CERT\u0027s advisory additional products may be affected: http://www.kb.cert.org/vuls/id/922681\n\n\"Hundreds of vendors have used the libupnp library in their products, many of which are acting as the home routers for consumer networks. Any application linking to libupnp is likely to be affected\"",
  "id": "CVE-2012-5958",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "COMPLETE",
          "baseScore": 10.0,
          "confidentialityImpact": "COMPLETE",
          "integrityImpact": "COMPLETE",
          "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 10.0,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2013-01-31T21:55:01.037",
  "references": [
    {
      "source": "cret@cert.org",
      "url": "http://lists.opensuse.org/opensuse-updates/2013-02/msg00013.html"
    },
    {
      "source": "cret@cert.org",
      "url": "http://packetstormsecurity.com/files/160242/libupnp-1.6.18-Denial-Of-Service.html"
    },
    {
      "source": "cret@cert.org",
      "url": "http://pupnp.sourceforge.net/ChangeLog"
    },
    {
      "source": "cret@cert.org",
      "url": "http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp"
    },
    {
      "source": "cret@cert.org",
      "url": "http://tsd.dlink.com.tw/temp/PMD/12879/DSR-500_500N_1000_1000N_A1_Release_Notes_FW_v1.08B77_WW.pdf"
    },
    {
      "source": "cret@cert.org",
      "url": "http://tsd.dlink.com.tw/temp/PMD/12960/DSR-150N_A2_Release_Notes_FW_v1.05B64_WW.pdf"
    },
    {
      "source": "cret@cert.org",
      "url": "http://tsd.dlink.com.tw/temp/PMD/12966/DSR-150_A1_A2_Release_Notes_FW_v1.08B44_WW.pdf"
    },
    {
      "source": "cret@cert.org",
      "url": "http://tsd.dlink.com.tw/temp/PMD/13039/DSR-250_250N_A1_A2_Release_Notes_FW_v1.08B44_WW_RU.pdf"
    },
    {
      "source": "cret@cert.org",
      "url": "http://www.debian.org/security/2013/dsa-2614"
    },
    {
      "source": "cret@cert.org",
      "url": "http://www.debian.org/security/2013/dsa-2615"
    },
    {
      "source": "cret@cert.org",
      "tags": [
        "Patch",
        "US Government Resource"
      ],
      "url": "http://www.kb.cert.org/vuls/id/922681"
    },
    {
      "source": "cret@cert.org",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2013:098"
    },
    {
      "source": "cret@cert.org",
      "tags": [
        "Exploit"
      ],
      "url": "http://www.securityfocus.com/bid/57602"
    },
    {
      "source": "cret@cert.org",
      "url": "https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play"
    },
    {
      "source": "cret@cert.org",
      "url": "https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf"
    },
    {
      "source": "cret@cert.org",
      "url": "https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb"
    },
    {
      "source": "cret@cert.org",
      "url": "https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037"
    },
    {
      "source": "cret@cert.org",
      "url": "https://www.tenable.com/security/research/tra-2017-10"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-updates/2013-02/msg00013.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://packetstormsecurity.com/files/160242/libupnp-1.6.18-Denial-Of-Service.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://pupnp.sourceforge.net/ChangeLog"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://tsd.dlink.com.tw/temp/PMD/12879/DSR-500_500N_1000_1000N_A1_Release_Notes_FW_v1.08B77_WW.pdf"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://tsd.dlink.com.tw/temp/PMD/12960/DSR-150N_A2_Release_Notes_FW_v1.05B64_WW.pdf"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://tsd.dlink.com.tw/temp/PMD/12966/DSR-150_A1_A2_Release_Notes_FW_v1.08B44_WW.pdf"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://tsd.dlink.com.tw/temp/PMD/13039/DSR-250_250N_A1_A2_Release_Notes_FW_v1.08B44_WW_RU.pdf"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2013/dsa-2614"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2013/dsa-2615"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "US Government Resource"
      ],
      "url": "http://www.kb.cert.org/vuls/id/922681"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2013:098"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit"
      ],
      "url": "http://www.securityfocus.com/bid/57602"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://www.tenable.com/security/research/tra-2017-10"
    }
  ],
  "sourceIdentifier": "cret@cert.org",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-119"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…