News for hackers. Stuff that matters.
Re:Don’t Get Clever with Login Forms by wccrawford on Friday February 15, 2019 @01:08PM (#19173170)
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.

Re:Don’t Get Clever with Login Forms by pwg on Friday February 15, 2019 @01:47PM (#19173561)
> 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.

Re:Don’t Get Clever with Login Forms by pvg on Friday February 15, 2019 @04:06PM (#19174716)
A 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.
Re:Don’t Get Clever with Login Forms by saagarjha on Friday February 15, 2019 @02:21PM (#19173857)
This 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.
Re:Don’t Get Clever with Login Forms by pmjordan on Friday February 15, 2019 @03:18PM (#19174335)
I 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.
Re:Don’t Get Clever with Login Forms by saagarjha on Saturday February 16, 2019 @05:43AM (#19178077)
Huh, this must be new. I'll look into it; it's nice to hear that this security loophole is at least partially fixed!
Re:Don’t Get Clever with Login Forms by efreak on Saturday February 16, 2019 @12:51AM (#19177297)
Unless 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.
Re:Don’t Get Clever with Login Forms by johndough on Friday February 15, 2019 @02:20PM (#19173846)
One 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.

Re:Don’t Get Clever with Login Forms by Operyl on Friday February 15, 2019 @03:11PM (#19174259)
A lot of password managers clear or restore the clipboard after a short period.
Re:Don’t Get Clever with Login Forms by dontbenebby on Friday February 15, 2019 @01:24PM (#19173347)
My manager autoclears the paste buffer.