### [CVE-2018-20839](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20839) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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. ### POC #### Reference No PoCs from references. #### Github - https://github.com/garethr/snykout - https://github.com/juaromu/wazuh-snyk - https://github.com/simonsdave/clair-cicd