Insecure Passwords on Gaim/Pidgin

Today, while I was trying to create a SIP Presence account for VoIPBuster, Pidgin kept crashing. I had to find its settings in my personal folder in order to manually edit the accounts.xml file and remove the entry (so Pidgin could start up again normally instead of keep crashing on load). When I opened the accounts.xml file with a plain text editor, all the passwords of all my accounts were listed out in the open in plain text. This is not a new issue, it was discussed many times before, but it can still be a surprise for most users.Sean Egan, primary developer of Gaim/Pidgin replied:

Here is the official response: basically if people are snooping around your personal configuration files, you probably have bigger problems than your IM passwords.

That said, there have been a few mailing list threads and even patches about it, which you can find with some Googlng.. You may additionally add that we have no problems at all accepting a patch that would encrypt passwords with a keyring, but are very much against tying to any one particular keyring implementation, a requirement nobody has managed yet to meet.

This is the beginning of the most recent thread on the issue. If you want a quote from me, please quote me from there, especially the “Certainly, if done right, nobody objects to this feature,” line :)”

While on Linux this might not be a major concern as there isn’t enough malware (even if Pidgin does not use the Gnome keychain to authenticate as it’s available at least on Ubuntu), this can be a huge problem in the Windows world. Now, this is not necessarily worse than malware reading cookies just about as easily from web browsers, but still, some encryption should be present to at least protect us from the less… capable malware or even admins who snoop on their user’s PCs, or users who allow fellow-workers to use their PC under the same user account (this happens rather often for a variety of reasons, especially in marketing environments where companies don’t have enough licenses for expensive graphics software for all their PCs). A quick look at Miranda and Trillian showed that both of these apps are encrypting their passwords.

Jabber enthusiast and hacker Robert Quattlebaum (also known for Synfig) tells us that “I agree that some minimal encoding should be performed to prevent shoulder snooping if the contents of those files were displayed. ROT13 would be adequate. [But] adding something more complicated that still doesn’t authenticate the user is just going to give you a false sense of security.

We can only hope that at least for the Unix version Sean will accept the Gnome-Keyring patch, and for Windows he will at least employ some form of encryption in the next version of Pidgin.

106 Comments

  1. 2007-05-23 2:27 am
    • 2007-05-23 2:41 am
      • 2007-05-23 3:12 pm
        • 2007-05-24 7:19 am
          • 2007-05-24 9:57 am
  2. 2007-05-23 2:28 am
  3. 2007-05-23 2:36 am
    • 2007-05-23 6:41 am
  4. 2007-05-23 2:45 am
  5. 2007-05-23 2:46 am
    • 2007-05-23 7:37 am
  6. 2007-05-23 2:46 am
    • 2007-05-23 3:02 am
      • 2007-05-23 3:17 am
        • 2007-05-23 8:51 am
          • 2007-05-23 10:23 am
          • 2007-05-23 10:41 am
      • 2007-05-23 3:22 am
      • 2007-05-23 3:23 am
        • 2007-05-23 3:43 am
          • 2007-05-23 3:47 am
          • 2007-05-23 4:11 am
          • 2007-05-23 5:36 pm
          • 2007-05-23 5:47 pm
          • 2007-05-23 6:53 pm
          • 2007-05-23 4:17 pm
    • 2007-05-23 3:12 am
      • 2007-05-23 4:14 am
      • 2007-05-23 6:27 am
    • 2007-05-23 4:01 am
  7. 2007-05-23 3:14 am
    • 2007-05-23 3:18 am
      • 2007-05-23 3:23 am
        • 2007-05-23 3:25 am
          • 2007-05-23 3:33 am
          • 2007-05-23 3:36 am
          • 2007-05-23 6:22 am
          • 2007-05-23 12:37 pm
          • 2007-05-23 10:15 pm
        • 2007-05-23 6:18 am
      • 2007-05-23 3:27 am
        • 2007-05-23 3:31 am
          • 2007-05-23 3:37 am
          • 2007-05-23 4:20 am
          • 2007-05-23 4:22 am
          • 2007-05-23 4:30 am
          • 2007-05-23 10:34 am
          • 2007-05-23 12:05 pm
          • 2007-05-23 12:21 pm
          • 2007-05-23 6:42 pm
          • 2007-05-24 3:05 am
      • 2007-05-23 3:28 am
        • 2007-05-23 3:33 am
          • 2007-05-23 3:41 am
      • 2007-05-23 4:14 am
        • 2007-05-23 8:29 am
          • 2007-05-23 4:54 pm
    • 2007-05-23 10:10 am
      • 2007-05-23 10:18 am
      • 2007-05-23 11:54 am
  8. 2007-05-23 5:00 am
  9. 2007-05-23 5:16 am
    • 2007-05-23 5:50 am
    • 2007-05-23 4:32 pm
  10. 2007-05-23 6:04 am
    • 2007-05-23 6:11 am
    • 2007-05-23 2:01 pm
    • 2007-05-25 4:53 pm
  11. 2007-05-23 6:48 am
    • 2007-05-23 6:57 am
    • 2007-05-23 10:32 am
      • 2007-05-23 10:45 am
        • 2007-05-23 11:59 am
        • 2007-05-23 12:54 pm
          • 2007-05-23 7:57 pm
      • 2007-05-23 7:08 pm
  12. 2007-05-23 8:06 am
  13. 2007-05-23 8:45 am
  14. 2007-05-23 9:12 am
  15. 2007-05-23 10:08 am
  16. 2007-05-23 10:19 am
  17. 2007-05-23 10:21 am
  18. 2007-05-23 10:21 am
    • 2007-05-23 2:08 pm
  19. 2007-05-23 10:27 am
  20. 2007-05-23 10:31 am
    • 2007-05-23 12:24 pm
      • 2007-05-23 12:39 pm
        • 2007-05-23 12:47 pm
      • 2007-05-24 12:01 am
  21. 2007-05-23 11:04 am
  22. 2007-05-23 11:05 am
  23. 2007-05-23 12:02 pm
  24. 2007-05-23 2:43 pm
    • 2007-05-23 2:49 pm
  25. 2007-05-23 2:44 pm
  26. 2007-05-23 4:02 pm
  27. 2007-05-23 5:06 pm
  28. 2007-05-23 5:25 pm
  29. 2007-05-23 8:59 pm
    • 2007-05-23 9:42 pm
      • 2007-05-24 6:20 am
  30. 2007-05-23 10:42 pm
  31. 2007-05-23 10:51 pm
  32. 2007-05-23 11:47 pm