Re: Apple Safari on MacOSX may reveal user's saved passwords

看板Bugtraq作者時間18年前 (2007/05/17 03:44), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/11 (看更多)
On May 16, 2007, at 10:42 AM, graham.coles@the-logic-group.com wrote: > I too appear to be having difficulty relating this to a vulnerability. Fair enough... >> It works for: >> the same user using ssh as is on the console; > > If someone can remotely log in as you over ssh then they already > have your > password (or worse, certificate!), so why would they try to obtain > it from > a browser? > > They already have total access to all your files, there would > appear to be > nothing more to gain from this. .... but note that reading web passwords from Safari does give someone *more* than "total access to all your files", since the keychain in which those passwords are stored is encrypted on disk. >> the root user using ssh (or someone who can sudo) can inject >> Javascript into the console user's browser; > > Are you even considering what you are saying? > > Someone has *ROOT* access to your system REMOTELY over ssh and you're > worried that they might be able to retrieve a password from your > keychain. > By this stage, your entire system and every file in it is pretty much > owned. Again, owning the file is not quite as good as owning the web passwords, since the file is encrypted, usually with the user's login password (if we're talking about the login keychain) but not always. The harm here, as I see it, is that if you have Safari open and have unlocked a keychain for it, with some valuable passwords (say for financial institutions), someone who can execute arbitrary code as your user can read passwords from that keychain that they couldn't read from the keychain as stored on disk. I'm not sure if making Safari dump core would also reveal these passwords; if so that would make this issue more or less moot. And of course as root one can presumably read the passwords out of system memory. But this behavior seems to make it too easy, no? ---IWC
文章代碼(AID): #16Iryh00 (Bugtraq)
討論串 (同標題文章)
完整討論串 (本文為第 5 之 11 篇):
文章代碼(AID): #16Iryh00 (Bugtraq)