After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 583484 - seahorse allows application access to keyring without password
seahorse allows application access to keyring without password
Status: RESOLVED DUPLICATE of bug 551036
Product: seahorse
Classification: Applications
Component: general
2.26.x
Other All
: Normal normal
: 2.26.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2009-05-21 18:20 UTC by nemoinis
Modified: 2009-05-21 18:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description nemoinis 2009-05-21 18:20:20 UTC
Please describe the problem:
This is to document what I see as a security flaw in seahorse:

Once a keyring is unlocked, one can display passwords in clear text simply by allowing seahorse itself access to the keyring WITHOUT HAVING TO ENTER A PASSWORD;

-this allows someone walking by an unlocked gnome session to *very quickly* get at all the user's passwords (yes, the user should have locked the screen, but given that this "exploit" can be done in 10 seconds or less, it's not practical; or for example, I should be able to let my bookkeeper (not a hacker) sit down and fix my spreadsheet without having to remember to lock every keyring beforehand - there is no timed autolock in seahorse either?)

The Mac OSX keychain access tool does the proper thing, IMO: it requires the keychain's password in order to modify the access control on any password in that keychain (that includes access by the keychain access tool itself).  This makes casual snooping more difficult.


Steps to reproduce:
1. walk to an unlocked terminal running a gnome session
2. double-click on any password in the login keyring
3. click allow-once when asked to allow access by seahorse, then click "Show Password"


Actual results:
Password is displayed

Expected results:
I should have been challenged using the keyring's password

Does this happen every time?
yes

Other information:
Autolocking the keyring(s) after a given period would be useful too though not a complete solution to this problem.
Comment 1 Adam Schreiber 2009-05-21 18:25:10 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 551036 ***