Bug 1716955 (CVE-2018-20839)
| Summary: | CVE-2018-20839 systemd: mishandling of the current keyboard mode check leading to passwords being disclosed in cleartext to attacker | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Marian Rehak <mrehak> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | lnykryn, lpoetter, msekleta, s, systemd-maint-list, systemd-maint, yozone, zbyszek, zjedrzej |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: |
The issue arises from the way systemd handles user passwords during the boot process. Specifically, passwords entered on the console during the system boot (e.g., for unlocking encrypted disks or logging in) could be logged in plaintext if certain conditions are met.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-15 15:09:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1716956 | ||
| Bug Blocks: | 1716957 | ||
|
Description
Marian Rehak
2019-06-04 13:03:17 UTC
Created systemd tracking bugs for this issue: Affects: fedora-all [bug 1716956] The fix implemented in [1] seems to cause a regression, which was reported upstream at [2]. It is still not clear what the right fix for this CVE will be, as there is a PR[3] under review to revert the fix [1] [1] https://github.com/systemd/systemd/pull/12378 [2] https://github.com/systemd/systemd/issues/12616 [3] https://github.com/systemd/systemd/pull/12739 To see the leaked passwords in VT1, the attacker needs to either be root or be physically in front of the computer (AV:P). Also, it's required for the victim users to be physically in front of the computer as well and login after the vulnerability is triggered (UI:R). Given what said in comment 5, I'm lowering the Impact to Moderate. The fix that supposedly should had fixed this CVE was actually reverted upstream in https://github.com/systemd/systemd/commit/ad3f86e6a4e5f2d5d64c81f9a30f250b624284fa . Closing the flaw bug as NOTABUG because the supposed fix was actually reverted and it's not clear whether the issue was really in systemd or not. See also: https://github.com/systemd/systemd/pull/13109 https://gitlab.freedesktop.org/xorg/xserver/issues/857 |