Page MenuHomeFreeBSD

Remove control+r handling from geliboot's pwgets()
ClosedPublic

Authored by allanjude on Feb 24 2017, 5:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 5, 1:54 AM
Unknown Object (File)
Sat, Apr 4, 12:20 PM
Unknown Object (File)
Wed, Mar 25, 9:17 AM
Unknown Object (File)
Tue, Mar 24, 1:36 PM
Unknown Object (File)
Tue, Mar 24, 1:27 PM
Unknown Object (File)
Mon, Mar 23, 9:11 PM
Unknown Object (File)
Mon, Mar 23, 7:31 AM
Unknown Object (File)
Mon, Mar 23, 12:37 AM
Subscribers
None

Details

Summary

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217298

While not really a security issue, it would be best if it did not do this:

The GELIBoot password prompt can be made to echo password in clear text.

How to repeat:

  • Boot a system with GELI full disk encryption
  • Wait for password prompt "GELI Passphrase for disk0p3:"
  • Enter password without pressing enter
  • Press ctrl-r

    Entered password is displayed in clear text.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7710
Build 7857: arc lint + arc unit

Event Timeline

allanjude retitled this revision from to Remove control+r handling from geliboot's pwgets().
allanjude updated this object.
allanjude edited the test plan for this revision. (Show Details)
allanjude added reviewers: kp, tsoome, imp, ehaupt.
ehaupt edited edge metadata.

I discovered this by accident and was glad nobody had a view on my monitor at the time. I think it makes sense to have this removed as I see no other purpose than debugging.

This revision is now accepted and ready to land.Feb 24 2017, 7:37 AM
tsoome edited edge metadata.

LGTM

kp edited edge metadata.
This revision was automatically updated to reflect the committed changes.