Security Flaw in OS X displays all keychain passwords in plain text
1–10 of 57 posts
Re: Security Flaw in OS X displays all keychain passwords in plain text
#2Re: Security Flaw in OS X displays all keychain passwords in plain text
#3 tell process "SecurityAgent"
click button "Allow" of group 1 of window 1
I'm pretty certain this is not possible in any recent version of OS X.Re: Security Flaw in OS X displays all keychain passwords in plain text
#4Maybe there is an easy way to decrypt them using some other information in the output, but I haven't looked further.
Re: Security Flaw in OS X displays all keychain passwords in plain text
#5Just tried this on my mac. And yes, It did output something. But the passwords aren't in plain text. It outputs, what looks like at first glance, encrypted passwords. Maybe there is an easy way to decrypt them using some other information in the output, but I haven't looked further.
Re: Security Flaw in OS X displays all keychain passwords in plain text
#6Just tried this on my mac. And yes, It did output something. But the passwords aren't in plain text. It outputs, what looks like at first glance, encrypted passwords. Maybe there is an easy way to decrypt them using some other information in the output, but I haven't looked further.
> error "System Events got an error: Can’t get group 1 of window 1 of process \"SecurityAgent\". Invalid index." number -1719 from group 1 of window 1 of process "SecurityAgent"
You're not supposed to be able to script SecurityAgent – and it doesn't work on my computer. Specifically, security windows should appear empty when read by other processes.
Re: Security Flaw in OS X displays all keychain passwords in plain text
#7Just tried this on my mac. And yes, It did output something. But the passwords aren't in plain text. It outputs, what looks like at first glance, encrypted passwords. Maybe there is an easy way to decrypt them using some other information in the output, but I haven't looked further.
https://developer.apple.com/legacy/library/documentation/Dar...
>dump-keychain [-adhir] Dump the contents of one or more keychains.
-a Dump access control list of items
-d Dump (decrypted) data of items
-i Interactive access control list editing mode
-r Dump raw (encrypted) data of items
I'm not at my Mac so can't test what it means by "dump decrypted", but I don't think it dumps all data in plain-text as the article suggested. I am curious if the keychain was unlocked when they did it for whatever reason.I still question why such an ability exists through terminal without more control, but it's not quite as described.
edit: was very unclear I was posting a snippet of the actual command. fixed
Re: Security Flaw in OS X displays all keychain passwords in plain text
#8If you let someone untrusted (!) log in remotely to your computer with your user account or you give it to someone while your user is logged in it's your own fault if your keys get stolen. You should use a guest account with restricted privileges or a separate machine.
It's not much different on Linux, if you use Gnome-Keyring (used by default in Ubuntu and others) you can also get the passwords easily, in plain text [1].
Not sure about Windows, but you can most likely get to the passwords without installing anything as well if you're already logged in as the current user. If you're allowed to run executables, there are quite a few already [2].
[1] https://blog.schmichael.com/2008/10/30/listing-all-passwords...
Re: Security Flaw in OS X displays all keychain passwords in plain text
#9tell process "SecurityAgent" click button "Allow" of group 1 of window 1 I'm pretty certain this is not possible in any recent version of OS X.
Re: Security Flaw in OS X displays all keychain passwords in plain text
#10Just tried this on my mac. And yes, It did output something. But the passwords aren't in plain text. It outputs, what looks like at first glance, encrypted passwords. Maybe there is an easy way to decrypt them using some other information in the output, but I haven't looked further.
Snippet from the man page for security: https://developer.apple.com/legacy/library/documentation/Dar... >dump-keychain [-adhir] Dump the contents of one or more keychains. -a Dump access control list of items -d Dump (decrypted) data of items -i Interactive access control list editing mode -r Dump raw (encrypted) data of items I'm not at my Mac so can't test what it means by "dump decrypted", but I don't think it dum…