Credentials management in systemd - CVE-2018-20839
Published: May 17, 2019 / Updated: August 8, 2020
systemd
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
systemd 242 changes the VT1 mode upon a logout, which allows attackers to read cleartext passwords in certain circumstances, such as watching a shutdown, or using Ctrl-Alt-F1 and Ctrl-Alt-F2. This occurs because the KDGKBMODE (aka current keyboard mode) check is mishandled.