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)
Wed, May 8, 3:59 PM
Unknown Object (File)
Wed, May 8, 2:55 PM
Unknown Object (File)
Tue, May 7, 4:10 AM
Unknown Object (File)
Fri, Apr 26, 9:07 PM
Unknown Object (File)
Fri, Apr 26, 9:07 PM
Unknown Object (File)
Fri, Apr 26, 9:06 PM
Unknown Object (File)
Fri, Apr 26, 5:13 PM
Unknown Object (File)
Jan 17 2024, 7:17 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 Not Applicable
Unit
Tests Not Applicable

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.