{"id":"CVE-2015-1158","details":"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.","modified":"2026-04-16T06:19:35.321924134Z","published":"2015-06-26T10:59:00Z","related":["SUSE-SU-2015:1041-1","SUSE-SU-2015:1044-1","SUSE-SU-2015:1044-2","openSUSE-SU-2024:10075-1"],"references":[{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2015-1123.html"},{"type":"ADVISORY","url":"http://www.cups.org/blog.php?L1082"},{"type":"ADVISORY","url":"http://www.debian.org/security/2015/dsa-3283"},{"type":"ADVISORY","url":"http://www.kb.cert.org/vuls/id/810572"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2629-1"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201510-07"},{"type":"ADVISORY","url":"https://www.cups.org/str.php?L4609"},{"type":"ARTICLE","url":"http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html"},{"type":"REPORT","url":"https://bugzilla.opensuse.org/show_bug.cgi?id=924208"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1221641"},{"type":"WEB","url":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html"},{"type":"WEB","url":"http://www.kb.cert.org/vuls/id/810572"},{"type":"WEB","url":"http://www.securityfocus.com/bid/75098"},{"type":"WEB","url":"http://www.securitytracker.com/id/1032556"},{"type":"WEB","url":"https://code.google.com/p/google-security-research/issues/detail?id=455"},{"type":"WEB","url":"https://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/37336/"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/41233/"}],"schema_version":"1.7.5"}