-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2023.6597
                     USN-6474-1: xrdp vulnerabilities
                             10 November 2023

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           xrdp
Publisher:         Ubuntu
Operating System:  Ubuntu
Resolution:        Patch/Upgrade
CVE Names:         CVE-2023-42822 CVE-2023-40184 CVE-2022-23613
                   CVE-2022-23493 CVE-2022-23484 CVE-2022-23483
                   CVE-2022-23482 CVE-2022-23481 CVE-2022-23480
                   CVE-2022-23479 CVE-2022-23478 CVE-2022-23477
                   CVE-2022-23468  

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-6474-1

Comment: CVSS (Max):  9.8 CVE-2022-23484 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
         CVSS Source: NIST
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

- --------------------------BEGIN INCLUDED TEXT--------------------

USN-6474-1: xrdp vulnerabilities

8 November 2023

Several security issues were fixed in xrdp.

Releases

  o Ubuntu 22.04 LTS
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 ESM
  o Ubuntu 16.04 ESM
  o Ubuntu 14.04 ESM

Packages

  o xrdp - Remote Desktop Protocol (RDP) server

Details

It was discovered that xrdp incorrectly handled validation of
client-supplied data, which could lead to out-of-bounds reads. An attacker
could possibly use this issue to crash the program or extract sensitive
information. ( CVE-2022-23479 , CVE-2022-23481 , CVE-2022-23483 ,
CVE-2023-42822 )

It was discovered that xrdp improperly handled session establishment
errors. An attacker could potentially use this issue to bypass the
OS-level session restrictions by PAM. ( CVE-2023-40184 )

It was discovered that xrdp incorrectly handled validation of
client-supplied data, which could lead to out-of-bounds writes. An attacker
could possibly use this issue to cause memory corruption or execute
arbitrary code. This issue only affected Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. ( CVE-2022-23468 )

It was discovered that xrdp incorrectly handled validation of
client-supplied data, which could lead to out-of-bounds reads. An attacker
could possibly use this issue to crash the program or extract sensitive
information. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS
and Ubuntu 22.04 LTS. ( CVE-2022-23480 , CVE-2022-23482 , CVE-2022-23484 )

It was discovered that xrdp incorrectly handled validation of
client-supplied data, which could lead to out-of-bounds reads. An attacker
could possibly use this issue to crash the program or extract sensitive
information. This issue only affected Ubuntu 20.04 LTS and
Ubuntu 22.04 LTS. ( CVE-2022-23477 , CVE-2022-23493 )

It was discovered that xrdp incorrectly handled validation of
client-supplied data, which could lead to out-of-bounds writes. An attacker
could possibly use this issue to cause memory corruption or execute
arbitrary code. This issue only affected Ubuntu 20.04 LTS and
Ubuntu 22.04 LTS. ( CVE-2022-23478 )

It was discovered that xrdp incorrectly handled validation of
client-supplied data, which could lead to out-of-bounds reads. An attacker
could possibly use this issue to crash the program or extract sensitive
information. This issue only affected Ubuntu 22.04 LTS. ( CVE-2022-23613 )

Update instructions

The problem can be corrected by updating your system to the following package
versions:

Ubuntu 22.04

  o xrdp - 0.9.17-2ubuntu2+esm1
    Available with Ubuntu Pro

Ubuntu 20.04

  o xrdp - 0.9.12-1ubuntu0.1+esm1
    Available with Ubuntu Pro

Ubuntu 18.04

  o xrdp - 0.9.5-2ubuntu0.1~esm2
    Available with Ubuntu Pro

Ubuntu 16.04

  o xrdp - 0.6.1-2ubuntu0.3+esm3
    Available with Ubuntu Pro

Ubuntu 14.04

  o xrdp - 0.6.0-1ubuntu0.1+esm3
    Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

  o CVE-2022-23468
  o CVE-2022-23477
  o CVE-2022-23479
  o CVE-2022-23484
  o CVE-2022-23481
  o CVE-2022-23613
  o CVE-2022-23493
  o CVE-2022-23480
  o CVE-2022-23483
  o CVE-2022-23478
  o CVE-2023-42822
  o CVE-2022-23482
  o CVE-2023-40184

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBZU3AD8kNZI30y1K9AQj5SQ//SYqVBQo7mRo4uZgc+tvLkalj/C2y1dLe
iKkBne+vhQbrwsgO466k3ymF3SVzFxPfqBBu0xNHUd9qgqfcZBtPZC9GncQjpl0i
oCuOknmqWDa3aofX8QeSIrG82d0RrQ+m1qLe/6ex9kDSnnU7y/SmFTYxG72XBZ+b
Ckk1jx3vTGy+I69B1iJMCqpbt8p27KNAsKb9E9jbut/fZYutcn9cZms1f3ooaaot
/0E7azSr3xfWb67aPymw1XqAIu287DHP5IouZwoFphtyeenotVX0FWC2DDvQYwUk
SBbPSy9GRFPeuCjcCJPBpH1dObEAxt7i6J+CAOgfAwWwfLR5M0cHJmtyqwZSb9ft
8wOim1MR640z+uB4FrzyFXs1rwsRMdAdEEXCctzGoFFEbK8CRFssxo5iPOTb69NZ
4YUb4EAz93DQqRLXfFe6wf41uMwL4hMdw06xALJYn7r1ZUQ3UjyMthks4KqjlMn6
9vrITBGF+S9mqgfoWQLfBtIBHpa4h7DDQR8Ub8eOAOMXHFeiZt0UQgyB4lxIzJ5L
S+j1zWLEltye8Xp72g9qVW10at7UaTay8a8pWXtJGv4tu69jU1Cbc9EREzZGOdH4
h+LtD+JJLs/w7TQX/AJYG0aC3Hq1jfcUuy5kCRtNvyn3Dw2ChJnt3UJirl76DZhI
rQB3rUmb2cQ=
=phH1
-----END PGP SIGNATURE-----