<?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 znc</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2018:2228-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-08-07T09:12:30Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-08-07T09:12:30Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-08-07T09:12:30Z</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 znc</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for znc fixes the following issues:

- Update to version 1.7.1
  * CVE-2018-14055: non-admin user could gain admin privileges and shell access
    by injecting values into znc.conf (bnc#1101281)
  * CVE-2018-14056: path traversal in HTTP handler via ../ in a web skin name.
    (bnc#1101280)
- Update to version 1.7.0
  * Make ZNC UI translateable to different languages
  * Configs written before ZNC 0.206 can't be read anymore
  * Implement IRCv3.2 capabilities away-notify, account-notify, extended-join
  * Implement IRCv3.2 capabilities echo-message, cap-notify on the &amp;quot;client side&amp;quot;
  * Update capability names as they are named in IRCv3.2:
    znc.in/server-time-iso→server-time, znc.in/batch→batch. Old names will
    continue working for a while, then will be removed in some future version.
  * Make ZNC request server-time from server when available
  * Add &amp;quot;AuthOnlyViaModule&amp;quot; global/user setting
  * Stop defaulting real name to &amp;quot;Got ZNC?&amp;quot;
  * Add SNI SSL client support
  * Add support for CIDR notation in allowed hosts list and in trusted proxy
    list
  * Add network-specific config for cert validation in addition to
    user-supplied fingerprints: TrustAllCerts, defaults to false, and TrustPKI,
    defaults to true.
  * Add /attach command for symmetry with /detach. Unlike /join it allows
    wildcards.
- Update to version 1.6.6:
  * Fix use-after-free in znc --makepem. It was broken for a long
    time, but started segfaulting only now. This is a useability
    fix, not a security fix, because self-signed (or signed by a
    CA) certificates can be created without using --makepem, and
    then combined into znc.pem.
</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>
  </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>http://lists.opensuse.org/opensuse-security-announce/2018-08/msg00017.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:2228-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Package Hub for SUSE Linux Enterprise 12 SP2">
      <Branch Type="Product Name" Name="SUSE Package Hub for SUSE Linux Enterprise 12 SP2">
        <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 12 SP2">SUSE Package Hub for SUSE Linux Enterprise 12 SP2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="znc-1.7.1-2.1">
      <FullProductName ProductID="znc-1.7.1-2.1">znc-1.7.1-2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="znc-devel-1.7.1-2.1">
      <FullProductName ProductID="znc-devel-1.7.1-2.1">znc-devel-1.7.1-2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="znc-lang-1.7.1-2.1">
      <FullProductName ProductID="znc-lang-1.7.1-2.1">znc-lang-1.7.1-2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="znc-perl-1.7.1-2.1">
      <FullProductName ProductID="znc-perl-1.7.1-2.1">znc-perl-1.7.1-2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="znc-python3-1.7.1-2.1">
      <FullProductName ProductID="znc-python3-1.7.1-2.1">znc-python3-1.7.1-2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="znc-tcl-1.7.1-2.1">
      <FullProductName ProductID="znc-tcl-1.7.1-2.1">znc-tcl-1.7.1-2.1</FullProductName>
    </Branch>
    <Relationship ProductReference="znc-1.7.1-2.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub for SUSE Linux Enterprise 12 SP2">
      <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-1.7.1-2.1">znc-1.7.1-2.1 as a component of SUSE Package Hub for SUSE Linux Enterprise 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="znc-devel-1.7.1-2.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub for SUSE Linux Enterprise 12 SP2">
      <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-devel-1.7.1-2.1">znc-devel-1.7.1-2.1 as a component of SUSE Package Hub for SUSE Linux Enterprise 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="znc-lang-1.7.1-2.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub for SUSE Linux Enterprise 12 SP2">
      <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-lang-1.7.1-2.1">znc-lang-1.7.1-2.1 as a component of SUSE Package Hub for SUSE Linux Enterprise 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="znc-perl-1.7.1-2.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub for SUSE Linux Enterprise 12 SP2">
      <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-perl-1.7.1-2.1">znc-perl-1.7.1-2.1 as a component of SUSE Package Hub for SUSE Linux Enterprise 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="znc-python3-1.7.1-2.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub for SUSE Linux Enterprise 12 SP2">
      <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-python3-1.7.1-2.1">znc-python3-1.7.1-2.1 as a component of SUSE Package Hub for SUSE Linux Enterprise 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="znc-tcl-1.7.1-2.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub for SUSE Linux Enterprise 12 SP2">
      <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-tcl-1.7.1-2.1">znc-tcl-1.7.1-2.1 as a component of SUSE Package Hub for SUSE Linux Enterprise 12 SP2</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">ZNC before 1.7.1-rc1 does not properly validate untrusted lines coming from the network, allowing a non-admin user to escalate his privilege and inject rogue values into znc.conf.</Note>
    </Notes>
    <CVE>CVE-2018-14055</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-1.7.1-2.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-devel-1.7.1-2.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-lang-1.7.1-2.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-perl-1.7.1-2.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-python3-1.7.1-2.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-tcl-1.7.1-2.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>http://lists.opensuse.org/opensuse-security-announce/2018-08/msg00017.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-14055.html</URL>
        <Description>CVE-2018-14055</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1101281</URL>
        <Description>SUSE Bug 1101281</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">ZNC before 1.7.1-rc1 is prone to a path traversal flaw via ../ in a web skin name to access files outside of the intended skins directories.</Note>
    </Notes>
    <CVE>CVE-2018-14056</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-1.7.1-2.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-devel-1.7.1-2.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-lang-1.7.1-2.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-perl-1.7.1-2.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-python3-1.7.1-2.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12 SP2:znc-tcl-1.7.1-2.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>http://lists.opensuse.org/opensuse-security-announce/2018-08/msg00017.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-14056.html</URL>
        <Description>CVE-2018-14056</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1101280</URL>
        <Description>SUSE Bug 1101280</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
