<?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-2020:1943-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2020-07-17T11:49:49Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2020-07-17T11:49:49Z</InitialReleaseDate>
    <CurrentReleaseDate>2020-07-17T11:49:49Z</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 provides the following fix:

- CVE-2020-4044: xrdp-sesman can be crashed remotely over port 3350 (bsc#1173580).
- Fixed an issue where xrdp-sesman could not restart (bsc#1155952).	  
- Fixed an issue where xrdp could not start due to an error in the service file use absolute path in ExecStart (bsc#1155789).
- Fixed a PAM error after 2nd xrdp session after logout (bsc#1153471).
- Fixed a crash in xrdp-sesman, caused by terminating and reconnecting an xrdp session (bsc#1152711).
- Fixed a failure in RDP session recovery (bsc#1150584).
- Fixed a process leak (bsc#1144379).  
- Let systemd handle the daemons, fixing daemon start failures. (bsc#1138954, bsc#1144327)
- Don't try to create .vnc directory if it already exists. (bsc#1157860)
</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-2020-1943,SUSE-OpenStack-Cloud-7-2020-1943,SUSE-SLE-SAP-12-SP2-2020-1943,SUSE-SLE-SERVER-12-SP2-2020-1943,SUSE-SLE-SERVER-12-SP2-BCL-2020-1943</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/2020/suse-su-20201943-1/</URL>
      <Description>Link for SUSE-SU-2020:1943-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2020-July/007149.html</URL>
      <Description>E-Mail link for SUSE-SU-2020:1943-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/1138954</URL>
      <Description>SUSE Bug 1138954</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1144327</URL>
      <Description>SUSE Bug 1144327</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1144379</URL>
      <Description>SUSE Bug 1144379</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1150584</URL>
      <Description>SUSE Bug 1150584</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1152711</URL>
      <Description>SUSE Bug 1152711</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1153471</URL>
      <Description>SUSE Bug 1153471</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1155789</URL>
      <Description>SUSE Bug 1155789</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1155952</URL>
      <Description>SUSE Bug 1155952</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1157860</URL>
      <Description>SUSE Bug 1157860</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1173580</URL>
      <Description>SUSE Bug 1173580</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>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2020-4044/</URL>
      <Description>SUSE CVE CVE-2020-4044 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP2-BCL">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP2-BCL">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL" CPE="cpe:/o:suse:sles-bcl:12:sp2">SUSE Linux Enterprise Server 12 SP2-BCL</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.20.1">
      <FullProductName ProductID="xrdp-0.9.0~git.1456906198.f422461-16.20.1">xrdp-0.9.0~git.1456906198.f422461-16.20.1</FullProductName>
    </Branch>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-16.20.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP2-BCL">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP2-BCL:xrdp-0.9.0~git.1456906198.f422461-16.20.1">xrdp-0.9.0~git.1456906198.f422461-16.20.1 as a component of SUSE Linux Enterprise Server 12 SP2-BCL</FullProductName>
    </Relationship>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-16.20.1" 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.20.1">xrdp-0.9.0~git.1456906198.f422461-16.20.1 as a component of SUSE Linux Enterprise Server 12 SP2-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="xrdp-0.9.0~git.1456906198.f422461-16.20.1" 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.20.1">xrdp-0.9.0~git.1456906198.f422461-16.20.1 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.20.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 7">
      <FullProductName ProductID="SUSE OpenStack Cloud 7:xrdp-0.9.0~git.1456906198.f422461-16.20.1">xrdp-0.9.0~git.1456906198.f422461-16.20.1 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">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 Linux Enterprise Server 12 SP2-BCL:xrdp-0.9.0~git.1456906198.f422461-16.20.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-LTSS:xrdp-0.9.0~git.1456906198.f422461-16.20.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP2:xrdp-0.9.0~git.1456906198.f422461-16.20.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 7:xrdp-0.9.0~git.1456906198.f422461-16.20.1</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>
    </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/2020/suse-su-20201943-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>
  <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 xrdp-sesman service before version 0.9.13.1 can be crashed by connecting over port 3350 and supplying a malicious payload. Once the xrdp-sesman process is dead, an unprivileged attacker on the server could then proceed to start their own imposter sesman service listening on port 3350. This will allow them to capture any user credentials that are submitted to XRDP and approve or reject arbitrary login credentials. For xorgxrdp sessions in particular, this allows an unauthorized user to hijack an existing session. This is a buffer overflow attack, so there may be a risk of arbitrary code execution as well.</Note>
    </Notes>
    <CVE>CVE-2020-4044</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP2-BCL:xrdp-0.9.0~git.1456906198.f422461-16.20.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP2-LTSS:xrdp-0.9.0~git.1456906198.f422461-16.20.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP2:xrdp-0.9.0~git.1456906198.f422461-16.20.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 7:xrdp-0.9.0~git.1456906198.f422461-16.20.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <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/2020/suse-su-20201943-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2020-4044.html</URL>
        <Description>CVE-2020-4044</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1173580</URL>
        <Description>SUSE Bug 1173580</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
