<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for cups</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2015:1041-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2015-06-10T14:30:04Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2015-06-10T14:30:04Z</InitialReleaseDate>
    <CurrentReleaseDate>2015-06-10T14:30:04Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for cups</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">The following issues are fixed by this update:

* CVE-2012-5519: privilege escalation via cross-site scripting
  and bad print job submission used to replace cupsd.conf on server (bsc#924208).
* CVE-2015-1158: Improper Update of Reference Count
* CVE-2015-1159: Cross-Site Scripting

</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">SUSE-SLE-DESKTOP-12-2015-264,SUSE-SLE-SDK-12-2015-264,SUSE-SLE-SERVER-12-2015-264</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2015/suse-su-20151041-1/</URL>
      <Description>Link for SUSE-SU-2015:1041-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2015-June/001431.html</URL>
      <Description>E-Mail link for SUSE-SU-2015:1041-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/924208</URL>
      <Description>SUSE Bug 924208</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2012-5519/</URL>
      <Description>SUSE CVE CVE-2012-5519 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2015-1158/</URL>
      <Description>SUSE CVE CVE-2015-1158 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2015-1159/</URL>
      <Description>SUSE CVE CVE-2015-1159 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Desktop 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Desktop 12">
        <FullProductName ProductID="SUSE Linux Enterprise Desktop 12" CPE="cpe:/o:suse:sled:12">SUSE Linux Enterprise Desktop 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12" CPE="cpe:/o:suse:sles:12">SUSE Linux Enterprise Server 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12" CPE="cpe:/o:suse:sles_sap:12">SUSE Linux Enterprise Server for SAP Applications 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Software Development Kit 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 12">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12" CPE="cpe:/o:suse:sle-sdk:12">SUSE Linux Enterprise Software Development Kit 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="cups-1.7.5-9.1">
      <FullProductName ProductID="cups-1.7.5-9.1">cups-1.7.5-9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cups-client-1.7.5-9.1">
      <FullProductName ProductID="cups-client-1.7.5-9.1">cups-client-1.7.5-9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cups-libs-1.7.5-9.1">
      <FullProductName ProductID="cups-libs-1.7.5-9.1">cups-libs-1.7.5-9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cups-libs-32bit-1.7.5-9.1">
      <FullProductName ProductID="cups-libs-32bit-1.7.5-9.1">cups-libs-32bit-1.7.5-9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cups-devel-1.7.5-9.1">
      <FullProductName ProductID="cups-devel-1.7.5-9.1">cups-devel-1.7.5-9.1</FullProductName>
    </Branch>
    <Relationship ProductReference="cups-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12:cups-1.7.5-9.1">cups-1.7.5-9.1 as a component of SUSE Linux Enterprise Desktop 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-client-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12:cups-client-1.7.5-9.1">cups-client-1.7.5-9.1 as a component of SUSE Linux Enterprise Desktop 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-libs-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12:cups-libs-1.7.5-9.1">cups-libs-1.7.5-9.1 as a component of SUSE Linux Enterprise Desktop 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-libs-32bit-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12:cups-libs-32bit-1.7.5-9.1">cups-libs-32bit-1.7.5-9.1 as a component of SUSE Linux Enterprise Desktop 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12:cups-1.7.5-9.1">cups-1.7.5-9.1 as a component of SUSE Linux Enterprise Server 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-client-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12:cups-client-1.7.5-9.1">cups-client-1.7.5-9.1 as a component of SUSE Linux Enterprise Server 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-libs-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12:cups-libs-1.7.5-9.1">cups-libs-1.7.5-9.1 as a component of SUSE Linux Enterprise Server 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-libs-32bit-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12:cups-libs-32bit-1.7.5-9.1">cups-libs-32bit-1.7.5-9.1 as a component of SUSE Linux Enterprise Server 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12:cups-1.7.5-9.1">cups-1.7.5-9.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-client-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12:cups-client-1.7.5-9.1">cups-client-1.7.5-9.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-libs-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12:cups-libs-1.7.5-9.1">cups-libs-1.7.5-9.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-libs-32bit-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12:cups-libs-32bit-1.7.5-9.1">cups-libs-32bit-1.7.5-9.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-devel-1.7.5-9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12:cups-devel-1.7.5-9.1">cups-devel-1.7.5-9.1 as a component of SUSE Linux Enterprise Software Development Kit 12</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">CUPS 1.4.4, when running in certain Linux distributions such as Debian GNU/Linux, stores the web interface administrator key in /var/run/cups/certs/0 using certain permissions, which allows local users in the lpadmin group to read or write arbitrary files as root by leveraging the web interface.</Note>
    </Notes>
    <CVE>CVE-2012-5519</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-client-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-libs-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-libs-32bit-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-client-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-libs-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-libs-32bit-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-client-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-libs-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-libs-32bit-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12:cups-devel-1.7.5-9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>7.2</BaseScore>
        <Vector>AV:L/AC:L/Au:N/C:C/I:C/A:C</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2015/suse-su-20151041-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2012-5519.html</URL>
        <Description>CVE-2012-5519</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1180148</URL>
        <Description>SUSE Bug 1180148</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/789566</URL>
        <Description>SUSE Bug 789566</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/882905</URL>
        <Description>SUSE Bug 882905</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/924208</URL>
        <Description>SUSE Bug 924208</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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.</Note>
    </Notes>
    <CVE>CVE-2015-1158</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-client-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-libs-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-libs-32bit-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-client-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-libs-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-libs-32bit-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-client-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-libs-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-libs-32bit-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12:cups-devel-1.7.5-9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>10</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:C/I:C/A:C</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2015/suse-su-20151041-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-1158.html</URL>
        <Description>CVE-2015-1158</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/924208</URL>
        <Description>SUSE Bug 924208</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/976653</URL>
        <Description>SUSE Bug 976653</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Cross-site scripting (XSS) vulnerability in the cgi_puts function in cgi-bin/template.c in the template engine in CUPS before 2.0.3 allows remote attackers to inject arbitrary web script or HTML via the QUERY parameter to help/.</Note>
    </Notes>
    <CVE>CVE-2015-1159</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-client-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-libs-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12:cups-libs-32bit-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-client-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-libs-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:cups-libs-32bit-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-client-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-libs-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:cups-libs-32bit-1.7.5-9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12:cups-devel-1.7.5-9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.3</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:N/I:P/A:N</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2015/suse-su-20151041-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-1159.html</URL>
        <Description>CVE-2015-1159</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/924208</URL>
        <Description>SUSE Bug 924208</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/976653</URL>
        <Description>SUSE Bug 976653</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
