GNOME Cleartext Passwords: Bug or Feature?

Nov 02, 2009

The current discussion in the Ubuntu forums is about a possible security hole in GNOME, specifically about GNOME registered users having their passwords appear as cleartext on the keyring. Not a bug, say its defenders, but the security concept behind the GNOME keyring.

In the discussion thread, the discoverer of the "blatant security flaw" gave an example of how it happens in Ubuntu 9.10. The user starts Ubuntu and registers on the desktop. The path through the Applications | Accessories | Passwords and Encryption Keyrings menus arrives at the keyring manager. Clicking on the Login folder shows the application processes and programs (including WLAN and mail accounts) and their respective passwords.

A right mouse click on an entry shows a context menu of properties, one of its tab being for keys. Clicking Password pops up a screen asking whether keyring access is allowed, for which no restrictions exist. The passphrase then appears and can be viewed as cleartext.

Critics of this approach provide a scenario whereby a profile owner has multiple users allowing access to the account. Operating in WLAN mode he wants to ensure that his keyring passphrase is secure. The suggestion is to further secure it through the user password so that guests need to know the profile owner's password before discovering what the keyring passphrases are. As it is, so goes the argument, users without much technical knowhow can easily steal the passphrases, so that additional password protection would deter "99% of potential identify thieves."

Defenders of the GNOME keyring strategy assure that only registered users have access to passphrases, the solution being to "lock your screen if you walk away." Defenders refer to the gnome-keyring security philosophy that suggests just that: locking the screen and creating guest logins. For those who still consider this a problem, so far no hard and fast solution exists. However, it is being actively discussed, among other places in the gnome-keyring mailing list.

Related content

  • Security Lessons: Passwords

    Keeping track of all your passwords can be tricky. Kurt says: Keep your friends close and your passwords closer.

  • Common Keyring: KDE and GNOME Combine Password Management Efforts

    KDE and GNOME developers drafted a secret storage API designed to be a common interface for desktop applications that need to store passwords and other confidential data.

  • Skype for Linux

    The old Microsoft gave the cold shoulder to Skype for Linux, neither updating it nor equipping it with new features. The new Microsoft promises to do better, with a brand new alpha prerelease version of a Linux client for the famous telephony tool.

  • Command Line: Twidge

    The Twidge microblogging tool is easy to learn and provides a much less cluttered environment than Twitter.

  • Gnome 2.12

    Gnome 2.10 reconquered many desktops with its return to values such as simplicity, clarity, and ease of use. The new Gnome 2.12 GNU desktop environment continues this emphasis on the basics.

Comments

  • It is a massive hole

    It is an incredible, massive hole in security - anyone with physical access to the keyboard and display can reveal all passwords in plain text. I can think of many situations where "lock your screen" simply does not apply, because you are in a hurry, because you are forgetful, because you are socially engineered into leaving your screen unlocked.

    There are many environments where this level of incompetent insecurity is simply unacceptable, where as a consequence Linux is unacceptable - including environments with a Clear Desk Policy which I have worked in.
  • Useless

    Sounds like KWallet for GNOME.. and I'll remove the useless pile of rubbish as soon as I figure out how.
comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News