FKIE_CVE-2015-1158

Vulnerability from fkie_nvd - Published: 2015-06-26 10:59 - Updated: 2026-06-17 00:21
Severity
Summary
The add_job function in scheduler/ipp.c in cupsd in CUPS before 2.0.3 performs incorrect free operations for multiple-value job-originating-host-name attributes, which allows remote attackers to trigger data corruption for reference-counted strings via a crafted (1) IPP_CREATE_JOB or (2) IPP_PRINT_JOB request, as demonstrated by replacing the configuration file and consequently executing arbitrary code.
References
product-security@apple.comhttp://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html
product-security@apple.comhttp://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702
product-security@apple.comhttp://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html
product-security@apple.comhttp://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html
product-security@apple.comhttp://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html
product-security@apple.comhttp://rhn.redhat.com/errata/RHSA-2015-1123.html
product-security@apple.comhttp://www.cups.org/blog.php?L1082Vendor Advisory
product-security@apple.comhttp://www.debian.org/security/2015/dsa-3283
product-security@apple.comhttp://www.kb.cert.org/vuls/id/810572Third Party Advisory, US Government Resource
product-security@apple.comhttp://www.securityfocus.com/bid/75098
product-security@apple.comhttp://www.securitytracker.com/id/1032556
product-security@apple.comhttp://www.ubuntu.com/usn/USN-2629-1
product-security@apple.comhttps://bugzilla.opensuse.org/show_bug.cgi?id=924208
product-security@apple.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1221641
product-security@apple.comhttps://code.google.com/p/google-security-research/issues/detail?id=455
product-security@apple.comhttps://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py
product-security@apple.comhttps://security.gentoo.org/glsa/201510-07
product-security@apple.comhttps://www.cups.org/str.php?L4609Vendor Advisory
product-security@apple.comhttps://www.exploit-db.com/exploits/37336/
product-security@apple.comhttps://www.exploit-db.com/exploits/41233/
af854a3a-2127-422b-91ae-364da2661108http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html
af854a3a-2127-422b-91ae-364da2661108http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702
af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html
af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html
af854a3a-2127-422b-91ae-364da2661108http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html
af854a3a-2127-422b-91ae-364da2661108http://rhn.redhat.com/errata/RHSA-2015-1123.html
af854a3a-2127-422b-91ae-364da2661108http://www.cups.org/blog.php?L1082Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2015/dsa-3283
af854a3a-2127-422b-91ae-364da2661108http://www.kb.cert.org/vuls/id/810572Third Party Advisory, US Government Resource
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/75098
af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id/1032556
af854a3a-2127-422b-91ae-364da2661108http://www.ubuntu.com/usn/USN-2629-1
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.opensuse.org/show_bug.cgi?id=924208
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=1221641
af854a3a-2127-422b-91ae-364da2661108https://code.google.com/p/google-security-research/issues/detail?id=455
af854a3a-2127-422b-91ae-364da2661108https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py
af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/201510-07
af854a3a-2127-422b-91ae-364da2661108https://www.cups.org/str.php?L4609Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108https://www.exploit-db.com/exploits/37336/
af854a3a-2127-422b-91ae-364da2661108https://www.exploit-db.com/exploits/41233/
Impacted products
Vendor Product Version
cups cups *

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "product-security@apple.com"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:cups:cups:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "E16A5939-A072-4A0C-AD13-9A580B0DF4D3",
              "versionEndIncluding": "2.0.2",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The add_job function in scheduler/ipp.c in cupsd in CUPS before 2.0.3 performs incorrect free operations for multiple-value job-originating-host-name attributes, which allows remote attackers to trigger data corruption for reference-counted strings via a crafted (1) IPP_CREATE_JOB or (2) IPP_PRINT_JOB request, as demonstrated by replacing the configuration file and consequently executing arbitrary code."
    },
    {
      "lang": "es",
      "value": "La funci\u00f3n add_job en scheduler/ipp.c en cupsd en CUPS anterior a 2.0.3 realiza incorrectamente las operaciones libres para los atributos de los nombres de anfitriones que originan trabajos de m\u00faltiples valores, lo que permite a atacantes remotos provocar la corrupci\u00f3n de datos para las cadenas de referencias contadas a trav\u00e9s de una solicitud (1) IPP_CREATE_JOB o (2) IPP_PRINT_JOB manipulada, tal y como fue demostrado mediante el remplazo del fichero de configuraci\u00f3n y como consecuencia la ejecuci\u00f3n de c\u00f3digo arbitrario."
    }
  ],
  "id": "CVE-2015-1158",
  "lastModified": "2026-06-17T00:21:53.130",
  "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": "2015-06-26T10:59:00.093",
  "references": [
    {
      "source": "product-security@apple.com",
      "url": "http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html"
    },
    {
      "source": "product-security@apple.com",
      "url": "http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10702"
    },
    {
      "source": "product-security@apple.com",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html"
    },
    {
      "source": "product-security@apple.com",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html"
    },
    {
      "source": "product-security@apple.com",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html"
    },
    {
      "source": "product-security@apple.com",
      "url": "http://rhn.redhat.com/errata/RHSA-2015-1123.html"
    },
    {
      "source": "product-security@apple.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://www.cups.org/blog.php?L1082"
    },
    {
      "source": "product-security@apple.com",
      "url": "http://www.debian.org/security/2015/dsa-3283"
    },
    {
      "source": "product-security@apple.com",
      "tags": [
        "Third Party Advisory",
        "US Government Resource"
      ],
      "url": "http://www.kb.cert.org/vuls/id/810572"
    },
    {
      "source": "product-security@apple.com",
      "url": "http://www.securityfocus.com/bid/75098"
    },
    {
      "source": "product-security@apple.com",
      "url": "http://www.securitytracker.com/id/1032556"
    },
    {
      "source": "product-security@apple.com",
      "url": "http://www.ubuntu.com/usn/USN-2629-1"
    },
    {
      "source": "product-security@apple.com",
      "url": "https://bugzilla.opensuse.org/show_bug.cgi?id=924208"
    },
    {
      "source": "product-security@apple.com",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1221641"
    },
    {
      "source": "product-security@apple.com",
      "url": "https://code.google.com/p/google-security-research/issues/detail?id=455"
    },
    {
      "source": "product-security@apple.com",
      "url": "https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py"
    },
    {
      "source": "product-security@apple.com",
      "url": "https://security.gentoo.org/glsa/201510-07"
    },
    {
      "source": "product-security@apple.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://www.cups.org/str.php?L4609"
    },
    {
      "source": "product-security@apple.com",
      "url": "https://www.exploit-db.com/exploits/37336/"
    },
    {
      "source": "product-security@apple.com",
      "url": "https://www.exploit-db.com/exploits/41233/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10702"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://rhn.redhat.com/errata/RHSA-2015-1123.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://www.cups.org/blog.php?L1082"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2015/dsa-3283"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Third Party Advisory",
        "US Government Resource"
      ],
      "url": "http://www.kb.cert.org/vuls/id/810572"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/75098"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securitytracker.com/id/1032556"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.ubuntu.com/usn/USN-2629-1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugzilla.opensuse.org/show_bug.cgi?id=924208"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1221641"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://code.google.com/p/google-security-research/issues/detail?id=455"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://security.gentoo.org/glsa/201510-07"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://www.cups.org/str.php?L4609"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://www.exploit-db.com/exploits/37336/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://www.exploit-db.com/exploits/41233/"
    }
  ],
  "sourceIdentifier": "product-security@apple.com",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-254"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…