News for hackers. Stuff that matters.
Re:Don't Hijack Browser Keyboard Shortcuts by 67726e on Wednesday April 09, 2014 @09:20AM (#7559061)
Do tell, how is that a "security flaw"?
Re:Don't Hijack Browser Keyboard Shortcuts by maxerickson on Wednesday April 09, 2014 @09:30AM (#7559106)
A lot of people that use password managers don't know their passwords (I only know a few of mine). Maybe calling it a flaw is too severe, but it isn't doing those folks any good.
Re:Don't Hijack Browser Keyboard Shortcuts by 67726e on Wednesday April 09, 2014 @11:23AM (#7559829)
I'm curious as to how that would affect a password manager? I was always under the impression that they would directly manipulate the DOM (or perhaps alter the outgoing request)?
Re:Don't Hijack Browser Keyboard Shortcuts by aestra on Wednesday April 09, 2014 @11:29AM (#7559881)
No.

Here is a workflow:

1) Download keypass.

2) generate random password (however you do that...)

3) copy password into web form.

4) copy passwords into keypass and save.

for logging in:

1) open keypass

2) copy password

3) paste into webform.

Typing the passwords leaves room for errors. Truly random passwords are copied and pasted. Words are typed.

Re:Don't Hijack Browser Keyboard Shortcuts by mnutt on Wednesday April 09, 2014 @09:28AM (#7559100)
It could be that some people use password managers that require pasting. (though many don't) It could lead to people using passwords that are easier to remember if their password manager doesn't work.
Re:Don't Hijack Browser Keyboard Shortcuts by dllthomas on Wednesday April 09, 2014 @01:43PM (#7560869)
Hm, this set me wondering how much risk there is passing the passwords through the copy-paste mechanism itself. Probably not terribly much more than passing through the keyboard and IO subsystems, though. Still, I know with X selection buffers, when data is requested the application it's requested from can run arbitrary code to generate (or check!) it and is passed the window-id requesting[0]. It seems like a password manager could make use of this to implement an ACL and lock things down tighter - do any do this?

[0]: http://tronche.com/gui/x/icccm/sec-2.html#s-2.4

Re:Don't Hijack Browser Keyboard Shortcuts by 67726e on Wednesday April 09, 2014 @11:23AM (#7559823)
I guess that is something of a double-edged sword then. You might force someone to use a weaker password, but then hopefully they wouldn't be keeping it in a place where they could simply copy/paste it. This really starts to delve into the whole "security is a gradient with tradeoffs" situation.
Re:Don't Hijack Browser Keyboard Shortcuts by aestra on Wednesday April 09, 2014 @11:33AM (#7559917)
>hopefully they wouldn't be keeping it in a place where they could simply copy/paste it.

???

Passwords can be simple copy/pasted from.

Encrypted files can be simply copy/pasted from.

Re:Don't Hijack Browser Keyboard Shortcuts by 67726e on Wednesday April 09, 2014 @11:39AM (#7559953)
I'm assuming in this scenario that they would be keeping passwords in a plaintext file. If they kept passwords in an encrypted file, wouldn't they need to decrypt it? Wouldn't you presumably have a strong password to decrypt it? Where is that kept? How strong must one's password be when that password is keeping other passwords secure? If they can remember that password, why can they not remember others?
Re:Don't Hijack Browser Keyboard Shortcuts by maxerickson on Wednesday April 09, 2014 @01:36PM (#7560822)
Remembering 1 password is easier than remembering dozens of them. Reusing passwords is not a great idea, so dozens of passwords is a real concern.

It's also the case that disabling paste doesn't do anything to stop a user from storing their passwords in an unencrypted file.

Re:Don't Hijack Browser Keyboard Shortcuts by dllthomas on Wednesday April 09, 2014 @01:39PM (#7560838)
Because remembering one strong password is way easier than remembering 50 strong passwords.
Re:Don't Hijack Browser Keyboard Shortcuts by Fuxy on Wednesday April 09, 2014 @09:59AM (#7559279)
Better yet what's the point of doing that anyway a pasted password is likely to be more complex (read as secure) than a regular one.
Re:Don't Hijack Browser Keyboard Shortcuts by 67726e on Wednesday April 09, 2014 @11:21AM (#7559816)
I simply asked how that constituted a security flaw, but thanks for the snark.
Re:Don't Hijack Browser Keyboard Shortcuts by aestra on Wednesday April 09, 2014 @11:31AM (#7559900)
I saw no snark.
Re:Don't Hijack Browser Keyboard Shortcuts by hyperpape on Wednesday April 09, 2014 @10:23AM (#7559434)
Anything that makes passwords harder to do right without simultaneously blocking some attack worth caring about is bad for security. Two of the biggest problems in security are that it's hard to do things the right way and that people just don't understand it.

Whether you want to call it a "security flaw" is not obviously an important question.

Re:Don't Hijack Browser Keyboard Shortcuts by aestra on Wednesday April 09, 2014 @11:21AM (#7559813)
I am not sure why you are getting downvoted for asking a simple question.

It could be a security flaw because you discourage using passwords that are truly randomly generated.

Re:Don't Hijack Browser Keyboard Shortcuts by 67726e on Wednesday April 09, 2014 @11:25AM (#7559846)
Neither am I...

Wouldn't using a random password and copy/pasting it imply they are storing it somewhere unsafe?

Re:Don't Hijack Browser Keyboard Shortcuts by aestra on Wednesday April 09, 2014 @11:27AM (#7559866)
No. My passwords are stored very safely.

Edited: you were probably downvoted for using scare quotes.

Re:Don't Hijack Browser Keyboard Shortcuts by blueskin_ on Wednesday April 09, 2014 @10:47AM (#7559584)
It discourages password manager use.
Re:Don't Hijack Browser Keyboard Shortcuts by 67726e on Wednesday April 09, 2014 @11:20AM (#7559808)
How? Wouldn't a password manager manipulate the DOM directly?
Re:Don't Hijack Browser Keyboard Shortcuts by blueskin_ on Wednesday April 09, 2014 @11:22AM (#7559821)
KeePass can use a virtual keyboard to type into stupidly designed fields (no need for DOM), but not all of them. Many use the clipboard to some degree.
Re:Don't Hijack Browser Keyboard Shortcuts by aestra on Wednesday April 09, 2014 @11:36AM (#7559936)
No.