10.0
CRITICAL
CVE-2015-1158
CUPS Data Corruption Remote Code Execution Vulnerability
Description

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.

INFO

Published Date :

June 26, 2015, 10:59 a.m.

Last Modified :

Nov. 21, 2024, 2:24 a.m.

Remotely Exploitable :

Yes !

Impact Score :

10.0

Exploitability Score :

10.0
Public PoC/Exploit Available at Github

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

Affected Products

The following products are affected by CVE-2015-1158 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 Cups cups
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-2015-1158.

URL Resource
http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702
http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html
http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html
http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html
http://rhn.redhat.com/errata/RHSA-2015-1123.html
http://www.cups.org/blog.php?L1082 Vendor Advisory
http://www.debian.org/security/2015/dsa-3283
http://www.kb.cert.org/vuls/id/810572 Third Party Advisory US Government Resource
http://www.securityfocus.com/bid/75098
http://www.securitytracker.com/id/1032556
http://www.ubuntu.com/usn/USN-2629-1
https://bugzilla.opensuse.org/show_bug.cgi?id=924208
https://bugzilla.redhat.com/show_bug.cgi?id=1221641
https://code.google.com/p/google-security-research/issues/detail?id=455
https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py
https://security.gentoo.org/glsa/201510-07
https://www.cups.org/str.php?L4609 Vendor Advisory
https://www.exploit-db.com/exploits/37336/
https://www.exploit-db.com/exploits/41233/
http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702
http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html
http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html
http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html
http://rhn.redhat.com/errata/RHSA-2015-1123.html
http://www.cups.org/blog.php?L1082 Vendor Advisory
http://www.debian.org/security/2015/dsa-3283
http://www.kb.cert.org/vuls/id/810572 Third Party Advisory US Government Resource
http://www.securityfocus.com/bid/75098
http://www.securitytracker.com/id/1032556
http://www.ubuntu.com/usn/USN-2629-1
https://bugzilla.opensuse.org/show_bug.cgi?id=924208
https://bugzilla.redhat.com/show_bug.cgi?id=1221641
https://code.google.com/p/google-security-research/issues/detail?id=455
https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py
https://security.gentoo.org/glsa/201510-07
https://www.cups.org/str.php?L4609 Vendor Advisory
https://www.exploit-db.com/exploits/37336/
https://www.exploit-db.com/exploits/41233/

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).

HTB - Irked

Python

Updated: 1 year, 8 months ago
0 stars 0 fork 0 watcher
Born at : July 24, 2022, 1:32 p.m. This repo has been linked 7 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-2015-1158 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2015-1158 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://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html
    Added Reference http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html
    Added Reference http://rhn.redhat.com/errata/RHSA-2015-1123.html
    Added Reference http://www.cups.org/blog.php?L1082
    Added Reference http://www.debian.org/security/2015/dsa-3283
    Added Reference http://www.kb.cert.org/vuls/id/810572
    Added Reference http://www.securityfocus.com/bid/75098
    Added Reference http://www.securitytracker.com/id/1032556
    Added Reference http://www.ubuntu.com/usn/USN-2629-1
    Added Reference https://bugzilla.opensuse.org/show_bug.cgi?id=924208
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1221641
    Added Reference https://code.google.com/p/google-security-research/issues/detail?id=455
    Added Reference https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py
    Added Reference https://security.gentoo.org/glsa/201510-07
    Added Reference https://www.cups.org/str.php?L4609
    Added Reference https://www.exploit-db.com/exploits/37336/
    Added Reference https://www.exploit-db.com/exploits/41233/
  • CVE Modified by [email protected]

    May. 14, 2024

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

    Sep. 23, 2017

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1032556 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 20, 2017

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/37336/ [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 01, 2017

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/41233/ [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 24, 2017

    Action Type Old Value New Value
    Added Reference https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 31, 2016

    Action Type Old Value New Value
    Added Reference http://www.ubuntu.com/usn/USN-2629-1 [No Types Assigned]
    Added Reference http://www.debian.org/security/2015/dsa-3283 [No Types Assigned]
    Added Reference http://rhn.redhat.com/errata/RHSA-2015-1123.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 28, 2016

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html [No Types Assigned]
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html [No Types Assigned]
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 08, 2016

    Action Type Old Value New Value
    Added Reference http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 07, 2016

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201510-07 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/75098 [No Types Assigned]
  • Modified Analysis by [email protected]

    Jun. 26, 2015

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:cups:cups:2.0.2:*:*:*:*:*:*:* (and previous)
    Added CVSS V2 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Changed Reference Type http://www.cups.org/blog.php?L1082 No Types Assigned http://www.cups.org/blog.php?L1082 Advisory
    Changed Reference Type http://www.kb.cert.org/vuls/id/810572 US Govt Resource http://www.kb.cert.org/vuls/id/810572 Advisory, US Govt Resource
    Changed Reference Type https://www.cups.org/str.php?L4609 No Types Assigned https://www.cups.org/str.php?L4609 Advisory
    Added CWE CWE-254
  • Initial Analysis by [email protected]

    Jun. 26, 2015

    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.
CWE - Common Weakness Enumeration

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

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2015-1158 weaknesses.

Exploit Prediction

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

95.02 }} 3.24%

score

0.99485

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability