<?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 nextcloud</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:2521-2</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-08-26T13:56:07Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-08-26T13:56:07Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-08-26T13:56:07Z</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 nextcloud</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for nextcloud to version 13.0.5 fixes the following issues:

Security issues fixed:

- CVE-2018-3780: Fixed a missing sanitization of search results for an
  autocomplete field that could lead to a stored XSS requiring
  user-interaction. The missing sanitization only affected user names, hence
  malicious search results could only be crafted by authenticated users.
  (boo#1105598)


Other bugs fixed:

- Fix highlighting of the upload drop zone
- Apply ldapUserFilter on members of group
- Make the DELETION of groups match greedy on the groupID
- Add parent index to share table
- Log full exception in cron instead of only the message
- Properly lock the target file on dav upload when not using part files
- LDAP backup server should not be queried when auth fails
- Fix filenames in sharing integration tests
- Lower log level for quota manipulation cases
- Let user set avatar in nextcloud if LDAP provides invalid image data
- Improved logging of smb connection errors
- Allow admin to disable fetching of avatars as well as a specific attribute
- Allow to disable encryption
- Update message shown when unsharing a file
- Fixed English grammatical error on Settings page.
- Request a valid property for DAV opendir
- Allow updating the token on session regeneration
- Prevent lock values from going negative with memcache backend
- Correctly handle users with numeric user ids
- Correctly parse the subject parameters for link (un)shares of calendars
- Fix &amp;quot;parsing&amp;quot; of email-addresses in comments and chat messages
- Sanitize parameters in createSessionToken() while logging
- Also retry rename operation on InvalidArgumentException
- Improve url detection in comments
- Only bind to ldap if configuration for the first server is set
- Use download manager from PDF.js to download the file
- Fix trying to load removed scripts
- Only pull for new messages if the session is allowed to be kept alive
- Always push object data
- Add prioritization for Talk
</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-09/msg00049.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:2521-2</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">
      <Branch Type="Product Name" Name="SUSE Package Hub for SUSE Linux Enterprise 12">
        <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 12">SUSE Package Hub for SUSE Linux Enterprise 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Package Hub for SUSE Linux Enterprise 15">
      <Branch Type="Product Name" Name="SUSE Package Hub for SUSE Linux Enterprise 15">
        <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 15">SUSE Package Hub for SUSE Linux Enterprise 15</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="nextcloud-13.0.5-bp150.2.3.1">
      <FullProductName ProductID="nextcloud-13.0.5-bp150.2.3.1">nextcloud-13.0.5-bp150.2.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="nextcloud-13.0.5-bp150.2.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub for SUSE Linux Enterprise 12">
      <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 12:nextcloud-13.0.5-bp150.2.3.1">nextcloud-13.0.5-bp150.2.3.1 as a component of SUSE Package Hub for SUSE Linux Enterprise 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="nextcloud-13.0.5-bp150.2.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub for SUSE Linux Enterprise 15">
      <FullProductName ProductID="SUSE Package Hub for SUSE Linux Enterprise 15:nextcloud-13.0.5-bp150.2.3.1">nextcloud-13.0.5-bp150.2.3.1 as a component of SUSE Package Hub for SUSE Linux Enterprise 15</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">A missing sanitization of search results for an autocomplete field in NextCloud Server &lt;13.0.5 could lead to a stored XSS requiring user-interaction. The missing sanitization only affected user names, hence malicious search results could only be crafted by authenticated users.</Note>
    </Notes>
    <CVE>CVE-2018-3780</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 12:nextcloud-13.0.5-bp150.2.3.1</ProductID>
        <ProductID>SUSE Package Hub for SUSE Linux Enterprise 15:nextcloud-13.0.5-bp150.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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-09/msg00049.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-3780.html</URL>
        <Description>CVE-2018-3780</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1105598</URL>
        <Description>SUSE Bug 1105598</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
