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

Security issues fixed: 

- CVE-2013-1430:  When successfully logging in using RDP into an xrdp session,
  the file ~/.vnc/sesman_${username}_passwd was created. Its content was the equivalent
  of the user's cleartext password, DES encrypted with a known key (bsc#1015567).
- CVE-2017-16927: The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager
  in xrdp through used an untrusted integer as a write length, which could lead to a
  local denial of service (bsc#1069591).
- CVE-2017-6967: Fixed call of the PAM function auth_start_session(). This lead
  to to PAM session modules not being properly initialized, with a potential
  consequence of incorrect configurations or elevation of privileges, aka a
  pam_limits.so bypass (bsc#1029912).

Other issues addressed:

- The KillDisconnected option for TigerVNC Xvnc sessions is now supported (bsc#1101506)
- Fixed an issue with delayed X KeyRelease events (bsc#1100453)
- Force xrdp-sesman.service to start after xrdp.service. (bsc#1014524)
- Avoid use of hard-coded sesman port. (bsc#1060644)
- Backport upstream commit 5575197,
  sesman should stop setting LANG and let initialization scripts
  take care of it (bsc#1023988).
- Backport upstream patches for 32bpp support (bsc#1022098).
- Fixed a regression connecting from Windows 10. (bsc#1090174)
</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-2019-1860,SUSE-OpenStack-Cloud-7-2019-1860,SUSE-SLE-SAP-12-SP2-2019-1860,SUSE-SLE-SERVER-12-SP2-2019-1860,SUSE-Storage-4-2019-1860</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/2019/suse-su-20191860-1/</URL>
      <Description>Link for SUSE-SU-2019:1860-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2019-July/005721.html</URL>
      <Description>E-Mail link for SUSE-SU-2019:1860-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/1014524</URL>
      <Description>SUSE Bug 1014524</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1015567</URL>
      <Description>SUSE Bug 1015567</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1022098</URL>
      <Description>SUSE Bug 1022098</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1023988</URL>
      <Description>SUSE Bug 1023988</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1029912</URL>
      <Description>SUSE Bug 1029912</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1060644</URL>
      <Description>SUSE Bug 1060644</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1069591</URL>
      <Description>SUSE Bug 1069591</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1090174</URL>
      <Description>SUSE Bug 1090174</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1100453</URL>
      <Description>SUSE Bug 1100453</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1101506</URL>
      <Description>SUSE Bug 1101506</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2013-1430/</URL>
      <Description>SUSE CVE CVE-2013-1430 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-16927/</URL>
      <Description>SUSE CVE CVE-2017-16927 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-6967/</URL>
      <Description>SUSE CVE CVE-2017-6967 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Enterprise Storage 4">
      <Branch Type="Product Name" Name="SUSE Enterprise Storage 4">
        <FullProductName ProductID="SUSE Enterprise Storage 4" CPE="cpe:/o:suse:ses:4">SUSE Enterprise Storage 4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP2-LTSS">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP2-LTSS">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-LTSS" CPE="cpe:/o:suse:sles-ltss:12:sp2">SUSE Linux Enterprise Server 12 SP2-LTSS</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP2">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP2">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP2" CPE="cpe:/o:suse:sles_sap:12:sp2">SUSE Linux Enterprise Server for SAP Applications 12 SP2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE OpenStack Cloud 7">
      <Branch Type="Product Name" Name="SUSE OpenStack Cloud 7">
        <FullProductName ProductID="SUSE OpenStack Cloud 7" CPE="cpe:/o:suse:suse-openstack-cloud:7">SUSE OpenStack Cloud 7</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="xrdp-0.9.0~git.1456906198.f422461-16.9.3">
      <FullProductName ProductID="xrdp-0.9.0~git.1456906198.f422461-16.9.3">xrdp-0.9.0~git.1456906198.f422461-16.9.3</FullProductName>
    </Branch>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-16.9.3" RelationType="Default Component Of" RelatesToProductReference="SUSE Enterprise Storage 4">
      <FullProductName ProductID="SUSE Enterprise Storage 4:xrdp-0.9.0~git.1456906198.f422461-16.9.3">xrdp-0.9.0~git.1456906198.f422461-16.9.3 as a component of SUSE Enterprise Storage 4</FullProductName>
    </Relationship>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-16.9.3" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-LTSS:xrdp-0.9.0~git.1456906198.f422461-16.9.3">xrdp-0.9.0~git.1456906198.f422461-16.9.3 as a component of SUSE Linux Enterprise Server 12 SP2-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-16.9.3" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP2:xrdp-0.9.0~git.1456906198.f422461-16.9.3">xrdp-0.9.0~git.1456906198.f422461-16.9.3 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-16.9.3" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 7">
      <FullProductName ProductID="SUSE OpenStack Cloud 7:xrdp-0.9.0~git.1456906198.f422461-16.9.3">xrdp-0.9.0~git.1456906198.f422461-16.9.3 as a component of SUSE OpenStack Cloud 7</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">An issue was discovered in xrdp before 0.9.1. When successfully logging in using RDP into an xrdp session, the file ~/.vnc/sesman_${username}_passwd is created. Its content is the equivalent of the user's cleartext password, DES encrypted with a known key.</Note>
    </Notes>
    <CVE>CVE-2013-1430</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Enterprise Storage 4:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-LTSS:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP2:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
        <ProductID>SUSE OpenStack Cloud 7:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>1.5</BaseScore>
        <Vector>AV:L/AC:M/Au:S/C:P/I:N/A:N</Vector>
      </ScoreSet>
      <ScoreSet>
        <BaseScore>5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:P/I:N/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/2019/suse-su-20191860-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2013-1430.html</URL>
        <Description>CVE-2013-1430</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1015567</URL>
        <Description>SUSE Bug 1015567</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/442182</URL>
        <Description>SUSE Bug 442182</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 scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0.9.4 uses an untrusted integer as a write length, which allows local users to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted input stream.</Note>
    </Notes>
    <CVE>CVE-2017-16927</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Enterprise Storage 4:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-LTSS:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP2:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
        <ProductID>SUSE OpenStack Cloud 7:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.9</BaseScore>
        <Vector>AV:L/AC:L/Au:N/C:N/I:N/A:C</Vector>
      </ScoreSet>
      <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/2019/suse-su-20191860-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-16927.html</URL>
        <Description>CVE-2017-16927</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1069591</URL>
        <Description>SUSE Bug 1069591</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/442182</URL>
        <Description>SUSE Bug 442182</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">xrdp 0.9.1 calls the PAM function auth_start_session() in an incorrect location, leading to PAM session modules not being properly initialized, with a potential consequence of incorrect configurations or elevation of privileges, aka a pam_limits.so bypass.</Note>
    </Notes>
    <CVE>CVE-2017-6967</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Enterprise Storage 4:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-LTSS:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP2:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
        <ProductID>SUSE OpenStack Cloud 7:xrdp-0.9.0~git.1456906198.f422461-16.9.3</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.9</BaseScore>
        <Vector>AV:N/AC:M/Au:S/C:P/I:P/A:N</Vector>
      </ScoreSet>
      <ScoreSet>
        <BaseScore>7.5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:P/I:P/A:P</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/2019/suse-su-20191860-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-6967.html</URL>
        <Description>CVE-2017-6967</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1029912</URL>
        <Description>SUSE Bug 1029912</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/442182</URL>
        <Description>SUSE Bug 442182</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
