<?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:1847-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2019-07-15T12:38:52Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2019-07-15T12:38:52Z</InitialReleaseDate>
    <CurrentReleaseDate>2019-07-15T12:38:52Z</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:

These security issues were 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).

These non-security issues were fixed:

- 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)
- 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">Image SLES12-SP4-SAP-Azure-LI-BYOS-Production-2019-1847,Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production-2019-1847,SUSE-2019-1847,SUSE-SLE-DESKTOP-12-SP4-2019-1847,SUSE-SLE-SERVER-12-SP4-2019-1847</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-20191847-1/</URL>
      <Description>Link for SUSE-SU-2019:1847-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2019-July/005708.html</URL>
      <Description>E-Mail link for SUSE-SU-2019:1847-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/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="Image SLES12-SP4-SAP-Azure-LI-BYOS-Production">
      <Branch Type="Product Name" Name="Image SLES12-SP4-SAP-Azure-LI-BYOS-Production">
        <FullProductName ProductID="Image SLES12-SP4-SAP-Azure-LI-BYOS-Production">Image SLES12-SP4-SAP-Azure-LI-BYOS-Production</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production">
      <Branch Type="Product Name" Name="Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production">
        <FullProductName ProductID="Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production">Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Desktop 12 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Desktop 12 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP4" CPE="cpe:/o:suse:sled:12:sp4">SUSE Linux Enterprise Desktop 12 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4" CPE="cpe:/o:suse:sles:12:sp4">SUSE Linux Enterprise Server 12 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4" CPE="cpe:/o:suse:sles_sap:12:sp4">SUSE Linux Enterprise Server for SAP Applications 12 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="xrdp-0.9.0~git.1456906198.f422461-21.9.1">
      <FullProductName ProductID="xrdp-0.9.0~git.1456906198.f422461-21.9.1">xrdp-0.9.0~git.1456906198.f422461-21.9.1</FullProductName>
    </Branch>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-21.9.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES12-SP4-SAP-Azure-LI-BYOS-Production">
      <FullProductName ProductID="Image SLES12-SP4-SAP-Azure-LI-BYOS-Production:xrdp-0.9.0~git.1456906198.f422461-21.9.1">xrdp-0.9.0~git.1456906198.f422461-21.9.1 as a component of Image SLES12-SP4-SAP-Azure-LI-BYOS-Production</FullProductName>
    </Relationship>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-21.9.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production">
      <FullProductName ProductID="Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production:xrdp-0.9.0~git.1456906198.f422461-21.9.1">xrdp-0.9.0~git.1456906198.f422461-21.9.1 as a component of Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production</FullProductName>
    </Relationship>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-21.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1">xrdp-0.9.0~git.1456906198.f422461-21.9.1 as a component of SUSE Linux Enterprise Desktop 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-21.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1">xrdp-0.9.0~git.1456906198.f422461-21.9.1 as a component of SUSE Linux Enterprise Server 12 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-21.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1">xrdp-0.9.0~git.1456906198.f422461-21.9.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP4</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>Image SLES12-SP4-SAP-Azure-LI-BYOS-Production:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>1.5</BaseScore>
        <Vector>AV:L/AC:M/Au:S/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-20191847-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>Image SLES12-SP4-SAP-Azure-LI-BYOS-Production:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.9</BaseScore>
        <Vector>AV:L/AC:L/Au:N/C:N/I:N/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-20191847-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>Image SLES12-SP4-SAP-Azure-LI-BYOS-Production:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>Image SLES12-SP4-SAP-Azure-VLI-BYOS-Production:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP4:xrdp-0.9.0~git.1456906198.f422461-21.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.9</BaseScore>
        <Vector>AV:N/AC:M/Au:S/C:P/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/2019/suse-su-20191847-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>
