11

In a fear-driven reaction to recent hacking events I thought over my password strategy. The basic question is are my saved passwords in FireFox safe from remote access?

I.e. where are they kept, are they kept in plain text, are there known vulnerabilities.

I run OS X 10.6 & Windows 7.

1

4 Answers 4

10

Firefox keeps your passwords in your profile, and in most/all versions since v2.0 this data is encrypted.

Check out here: http://kb.mozillazine.org/Profile_folder_-_Firefox for locations of the password files on Windows (various versions), Linux and Mac.

  • key3.db - Key database
  • signons.txt - Previous to 2.0.0.2 - Encrypted saved passwords, requires key3.db to work
  • signons2.txt - 2.0.0.2 and above - Encrypted saved passwords (and URL exceptions where "NEVER SAVE PASSWORD" is selected), requires key3.db to work
  • signons3.txt - 3.0 and above - Encrypted saved passwords (and URL exceptions where "NEVER SAVE PASSWORD" is selected), requires key3.db to work
  • signons.sqlite - 3.5 and above - Encrypted saved passwords (and URL exceptions where "NEVER SAVE PASSWORD" is selected), requires key3.db to work.
2
5

From Firefox Help - Recovering important data from an old profile:

Your passwords are stored in two different files, both of which are required:

  • key3.db - This file stores your key database for your passwords. To transfer saved passwords, you must copy this file along with the following file.
  • signons.sqlite - Saved passwords.

Thus, I would try searching your computer for these two files and checking them out for yourself...

4
  • I wouldn't trust it though. My friend installed Chrome and it was able to copy his passwords over. If Chrome can do it, viruses can.
    – beatgammit
    Apr 5, 2011 at 17:51
  • He didn't use encryption in that case. If he did, this wouldn't work.
    – Henno
    Apr 5, 2011 at 17:55
  • If the OP encrypted these files, he would be safe...
    – studiohack
    Apr 5, 2011 at 17:59
  • 1
    tjameson suggests that since Chrome can copy the passwords they are not safe. This isn't necessarily so. The passwords are encrypted using the master password. Chrome can copy the files containing the encrypted password, and it can decrypt them if it has the master password. It knows how to decrypt them because the method of encryption is public. It's the key (the master password) that keeps things safe. So the reason Chrome was able to decrypt the file was that the user supplied the master password. Apr 6, 2011 at 1:31
2

password forensics has an overview and tools for recovery. The latter is a brute force attack on the master password (if you have it, which you should). The security is as good as your password, basically. This link has more details (same site).

0
-1

"...Firefox does encrypt the passwords you ask it to remember..." Source

But it's also important to note that anyone who has access to your computer can easily access all of your remembered passwords.

Tools -> Options -> Security tab -> Saved Passwords -> Show Passwords

This list will be filled with all of your remembered usernames and passwords, as well as the site they go to

2
  • 2
    My friend had a master password set, but that wasn't enough to stop Chrome from copying the passwords over. I wouldn't trust the security of it. Any virus that knows how to make SQLite queries can recover data.
    – beatgammit
    Apr 5, 2011 at 17:57
  • 1
    Firefox does encrypt the passwords if you use a master password. See support.mozilla.com/en-US/kb/…. Apr 6, 2011 at 1:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .