5 ms·
He gets to have the added insecurity if putting it on his clipboard for other programs to see on the way by. /s I actually can't imagine how it could be safer
by wccrawford 8y ago
He gets to have the added insecurity if putting it on his clipboard for other programs to see on the way by.
/s
I actually can't imagine how it could be safer than having the password manager do it directly.
- dontbenebby 8y agoMy manager autoclears the paste buffer.
- pwg 8y ago> He gets to have the added insecurity if putting it on his clipboard for other programs to see on the way by. If the local system is trustworthy, then none of the other programs are sniffing the clipboard looking to harvest passwords. And therefore there is no issue here. If the local system is untrustworthy and contains malware sniffing the clipboard looking to harvest passwords, then using or not using a password manager is irrelevant [1]. Instead there is a bigger issue needing cleaning up, that of returning the local system to a trustworthy state. [1] because an untrustworthy local system running clipboard sniffing malware is also likely running key logging malware, so even if the passwords were only ever memorized they will still get captured whenever they are typed in.
- saagarjha 8y agoThis is not necessarily true. iOS, for example, does not allow for key logging but will happily allow Facebook to grab whatever you have on your clipboard, which it does of course because it's Facebook.
- pmjordan 8y agoI think I've spotted iOS clearing the clipboard if you task-switch after pasting the contents into a password input field. Which is presumably precisely to defend against this kind of data theft.
- saagarjha 8y agoHuh, this must be new. I'll look into it; it's nice to hear that this security loophole is at least partially fixed!
- pvg 8y agoA password can end up on the clipboard and get picked up by some utility, stored in a history, log or swap file or otherwise get misplaced - this doesn't require a compromised system full of malicious software, just bugs and/or unexpected or unintended behaviour or interactions, which are fairly common.
- efreak 8y agoUnless you're running a clipboard history program. I know at least two people that user such software; it basically saves the past 10 or so clipboard contents for later use.
- johndough 8y agoOne possible way to exploit this is: - user copy-and-pastes password - user forgets to clear clipboard - user opens a link in a new tab with middle-click - link was actually a text form - middle-click pasted the password into the textfield (only on platforms with middle-click configured as paste) I noticed this when I had an image url in my clipboard and tried on open a link on imgur.com in a new tab. Instead of opening the link, the image url in my clipboard was uploaded.
- Operyl 8y agoA lot of password managers clear or restore the clipboard after a short period.