Skip to content
OpenAdvisories
Unscored Public exploit CVE-2015-1158 EUVD-2015-1301GHSA-f3f2-vc32-jrrx

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…

Published Jun 26, 2015 · Updated Aug 6, 2024 · Assigned by apple

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cups 1.7.5-12 —
Debian 13 cups 1.7.5-12 —
Debian 12 cups 1.7.5-12 —
Debian 8 cups 1.7.5-11+deb8u1 DSA-3283-1
Debian 7 cups 1.5.3-5+deb7u6 DSA-3283-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 6.0 cups 1.4.4-7+squeeze8 DLA-239-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS cups 1.7.2-0ubuntu1.6 USN-2629-1
ReleasePackageFixed inAdvisory
RHEL 7 cups +6 1:1.6.3-17.ael7b_1.1 RHSA-2015:1123
RHEL 6 cups +4 1:1.4.2-67.el6_6.1 RHSA-2015:1123
ReleasePackageFixed inAdvisory
SLES 12 cups 1.7.5-9.1 SUSE-SU-2015:1041-1
SLES 12 cups154 1.5.4-9.1 SUSE-SU-2015:1044-2, SUSE-SU-2015:1044-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 cups 1.7.5-9.1 SUSE-SU-2015:1041-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cups 2.1.3-2.3 openSUSE-SU-2024:10075-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 cups +6 1:1.6.3-17.el7_1.1 ELSA-2015-1123
Oracle Linux 7 cups-php 1:1.4.2-67.el6_6.1 ELSA-2015-1123

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 9

References