CVE-2022-23479CWE-120

Buffer Overflow occurs in xrdp

Critical · published December 9, 2022

CVSS v3.1
9.1
EPSS
1%
Percentile
60.1
In the wild
Unconfirmed
What it is

🔥 A devastating buffer overflow lurks in xrdp versions before 0.9.21! This vulnerability could allow remote attackers to crash your server or execute code without breaking a sweat. 😱 Think of xrdp as a bridge connecting two islands (your machine and the remote desktop). Now, imagine that the bridge is overloaded with too many vehicles at once — it’s bound to collapse! In this case, the xrdp_mm_chan_data_in() function is that bridge, and it’s not equipped to handle the traffic safely. If exploited, an attacker could send a carefully crafted input that triggers this overflow, leading to crashes or even the execution of arbitrary code. This isn’t just a hiccup; it could compromise your entire server environment, leaving your data and resources vulnerable!

Put simply

Think of xrdp as a bridge connecting two islands (your machine and the remote desktop). Now, imagine that the bridge is overloaded with too many vehicles at once — it’s bound to collapse! In this case, the xrdp_mm_chan_data_in() function is that bridge, and it’s not equipped to handle the traffic safely. The vulnerability in xrdp arises from insufficient validation of input data in the xrdp_mm_chan_data_in() function, allowing for uncontrolled memory allocation and potentially leading to a buffer overflow.

What to do

If exploited, an attacker could send a carefully crafted input that triggers this overflow, leading to crashes or even the execution of arbitrary code. This isn’t just a hiccup; it could compromise your entire server environment, leaving your data and resources vulnerable! To safeguard your system, upgrade xrdp to version 0.9.21 or later immediately. Since there are no known workarounds, patching is your best defense! 🔒 Make sure you also monitor your systems for any unusual activity following the upgrade. You've got this! Follow these steps to fortify your defenses and keep your systems safe. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00927 · 60.1th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2022-12-09T17:49Z
EPSS history
Timeline
  • 09 DEC 17:49Z
    Buffer Overflow occurs in xrdp
    cvelistv5