漏洞描述
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.
影响产品
暂无结构化产品信息。
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/0x00string/oldays/blob/master/CVE-2015-1158.py↗kb.juniper.nethttp://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702↗bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1221641↗www.debian.orghttp://www.debian.org/security/2015/dsa-3283↗www.cups.orghttp://www.cups.org/blog.php?L1082↗www.securitytracker.comhttp://www.securitytracker.com/id/1032556↗code.google.comhttps://code.google.com/p/google-security-research/issues/detail?id=455↗security.gentoo.orghttps://security.gentoo.org/glsa/201510-07↗googleprojectzero.blogspot.inhttp://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html↗bugzilla.opensuse.orghttps://bugzilla.opensuse.org/show_bug.cgi?id=924208↗www.kb.cert.orghttp://www.kb.cert.org/vuls/id/810572↗lists.opensuse.orghttp://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html↗rhn.redhat.comhttp://rhn.redhat.com/errata/RHSA-2015-1123.html↗lists.opensuse.orghttp://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html↗www.ubuntu.comhttp://www.ubuntu.com/usn/USN-2629-1↗www.securityfocus.comhttp://www.securityfocus.com/bid/75098↗www.cups.orghttps://www.cups.org/str.php?L4609↗lists.opensuse.orghttp://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html↗