GNOME Bugzilla – Bug 695104
copy & paste password
Last modified: 2013-03-04 15:44:26 UTC
If you enter the password in the password box and leave your screen, before pressing 'Login', an attacker could mark the dots, press Ctrl+C / Cancel and Ctrl+V in the username box. This will display the password in plaintext.
(In reply to comment #0) > If you enter the password in the password box and leave your screen, before > pressing 'Login', an attacker could mark the dots, press Ctrl+C / Cancel and > Ctrl+V in the username box. > > This will display the password in plaintext. If you leave your car keys in the pub and walk away an attacker could grab the key and go steal your car.
In our situation this is a reasonable problem. Due to LDAP login, the login process might take some time (up to 15sec). When a student tries to login to a public pc and is a bit impationt, he or she might walk away during the login process. In the meantime someone else could step up and copy and paste the password.
(In reply to comment #2) > In our situation this is a reasonable problem. Due to LDAP login, the login > process might take some time (up to 15sec). When a student tries to login to a > public pc and is a bit impationt, he or she might walk away during the login > process. In the meantime someone else could step up and copy and paste the > password. OK, that makes sense ... your first comment triggered a "huh? why would one do that". I guess we could simply disable copy and paste on the login screen, there is no source to copy from anyway.
fwiw, gtk forbids copying from a password entry. st should do the same
Created attachment 237998 [details] [review] st-entry: Disable cut/copy actions in password entries Curently it is possible to copy the content of password entries, and paste it elsewhere in clear text. This is undesirable, so follow GTK+'s behavior and disable the cut/copy actions for password entries.
Created attachment 237999 [details] [review] shellEntry: Disable copy action for password entries Curently it is possible to copy the content of password entries, and paste it elsewhere in clear text. This is undesirable, so follow GTK+'s behavior and disable the copy action for password entries.
Review of attachment 237998 [details] [review]: looks good
Review of attachment 237999 [details] [review]: Ok
Attachment 237998 [details] pushed as b52f4ed - st-entry: Disable cut/copy actions in password entries Attachment 237999 [details] pushed as 9e31f05 - shellEntry: Disable copy action for password entries