SecurityContext

CVE-2015-1158: CUPS - Use After Free

  • Cve: CVE-2015-1158
  • Name: CUPS - Use After Free
  • 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.
  • Impact: Remote attackers can cause data corruption and potentially execute arbitrary code on the server.
  • Remediation: Update to version 2.0.3 or later.
  • Vulnerability type: use_after_free
  • Vulnerability impact: data_tampering, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 10
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
  • Epss score: 0.29726
  • Epss percentile: 0.9824
  • Assignee: [email protected]
  • Published at: 2015-06-26T10:59:00Z
  • Age in days: 4169
  • Modified at: 2026-06-17T00:21:53Z
  • References total: 20
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2015-1158
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-254—

References

Same in every row:

  • Source: nvd
UrlTags
http://www.cups.org/blog.php?L1082Vendor Advisory
https://www.cups.org/str.php?L4609Vendor Advisory
http://www.kb.cert.org/vuls/id/810572Third Party Advisory, US Government 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.debian.org/security/2015/dsa-3283

Products

ProductAffectedPlatform boundSourcesUrl
cups:cups<= 2.0.2nonvd/v1/products/cups/cups

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts