<?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 deluge</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2017:1497-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2017-06-06T16:40:38Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2017-06-06T16:40:38Z</InitialReleaseDate>
    <CurrentReleaseDate>2017-06-06T16:40:38Z</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 deluge</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for deluge fixes two security issues:

- CVE-2017-9031: A remote attacker may have used a directory traversal vulnerability in the web interface (bsc#1039815)
- CVE-2017-7178: A remote attacher could have exploited a CSRF vulnerability to trick a logged-in user to perform
                 actions in the WebUI (bsc#1039958)

In addition, deluge was updated to 1.3.15 with the following fixes and changes:

- Core: Fix issues with displaying libtorrent-rasterbar single proxy.
- Core: Fix libtorrent-rasterbar 1.2 trackers crashing Deluge UIs.
- Core: Fix an error in torrent priorities causing file priority mismatch in UIs.
- GtkUI: Fix column sort state not saved in Thinclient mode.
- GtkUI: Fix a connection manager error with malformed ip.
- GtkUI: Rename SystemTray/Indicator 'Pause/Resume All' to 'Pause/Resume Session'.
- GtkUI: Workaround libtorrent-rasterbar single proxy by greying out unused proxy types.
- Notification Plugin: Fix webui passing string for int port value.
- AutoAdd Plugin: Add WebUI preferences page detailing lack of configuration via WebUI.
- Label Plugin: Add WebUI preferences page detailing how to configure plugin.
- Core: Fix 'Too many files open' errors.
- Core: Add support for python-GeoIP for use with libtorrent 1.1.
- Core: Fix a single proxy entry being overwritten resulting in no proxy set.
- UI: Add the tracker_status translation to UIs.
- GtkUI: Strip whitespace from infohash before checks.
- GtkUI: Add a missed feature autofill infohash entry from clipboard.
- WebUI: Backport bind interface option for server.
- ConsoleUI: Fix a decode error comparing non-ascii (str) torrent names.
- AutoAdd Plugin: Fixes for splitting magnets from file.
- Remove the duplicate magnet extension when splitting.
- Remove deluge-libtorrent-1.1-geoip.patch: fixed upstream.
</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>https://lists.opensuse.org/opensuse-security-announce/2017-06/msg00002.html</URL>
      <Description>E-Mail link for openSUSE-SU-2017:1497-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="openSUSE Leap 42.2">
      <Branch Type="Product Name" Name="openSUSE Leap 42.2">
        <FullProductName ProductID="openSUSE Leap 42.2">openSUSE Leap 42.2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="deluge-1.3.15-3.3.1">
      <FullProductName ProductID="deluge-1.3.15-3.3.1">deluge-1.3.15-3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="deluge-lang-1.3.15-3.3.1">
      <FullProductName ProductID="deluge-lang-1.3.15-3.3.1">deluge-lang-1.3.15-3.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="deluge-1.3.15-3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:deluge-1.3.15-3.3.1">deluge-1.3.15-3.3.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="deluge-lang-1.3.15-3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:deluge-lang-1.3.15-3.3.1">deluge-lang-1.3.15-3.3.1 as a component of openSUSE Leap 42.2</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">CSRF was discovered in the web UI in Deluge before 1.3.14. The exploitation methodology involves (1) hosting a crafted plugin that executes an arbitrary program from its __init__.py file and (2) causing the victim to download, install, and enable this plugin.</Note>
    </Notes>
    <CVE>CVE-2017-7178</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:deluge-1.3.15-3.3.1</ProductID>
        <ProductID>openSUSE Leap 42.2:deluge-lang-1.3.15-3.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2017-06/msg00002.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-7178.html</URL>
        <Description>CVE-2017-7178</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1039958</URL>
        <Description>SUSE Bug 1039958</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 WebUI component in Deluge before 1.3.15 contains a directory traversal vulnerability involving a request in which the name of the render file is not associated with any template file.</Note>
    </Notes>
    <CVE>CVE-2017-9031</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:deluge-1.3.15-3.3.1</ProductID>
        <ProductID>openSUSE Leap 42.2:deluge-lang-1.3.15-3.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2017-06/msg00002.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-9031.html</URL>
        <Description>CVE-2017-9031</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1039815</URL>
        <Description>SUSE Bug 1039815</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1039958</URL>
        <Description>SUSE Bug 1039958</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
