We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

severe firefox security breach? doesnt require master password

  • 5 个回答
  • 2 人有此问题
  • 9 次查看
  • 最后回复者为 cor-el

more options

I have firefox set with a master password. When I start up the computer and firefox, it opens the browser the way I had it saved when I shut down. This includes sites requiring passwords. They all open with no request for passwords. Then randomly at some later point I am asked for the master password. Shouldn't it ask for the master password first, before opening protected sites?

I have firefox set with a master password. When I start up the computer and firefox, it opens the browser the way I had it saved when I shut down. This includes sites requiring passwords. They all open with no request for passwords. Then randomly at some later point I am asked for the master password. Shouldn't it ask for the master password first, before opening protected sites?

被采纳的解决方案

This is a little bit complicated.

If you allow sites to set persistent cookies to keep you logged in between sessions, Firefox never needs to use your saved password; you are already in on every visit for as long as Firefox keeps the cookie (weeks, months, or years depending on what the site specified).

Alternately, if you limit sites to setting session cookies, after you shut down Firefox, those cookies normally are deleted. But there's an exception for the windows and tabs you left open.

When you restore a previous session, Firefox reinstates the cookies from that session, including the ones that kept you logged in to sites. Secure (HTTPS) sites are handled differently depending on when you restore your session:

  • When Firefox is set to start up automatically with previous windows and tabs: secure session cookies are maintained and reinstated. Your saved login is not needed and not used.
  • When Firefox is set to start up with a home page, and you have the option to restore your previous session manually: secure session cookies are discarded. You will need to login again.

So if you either (1) allow sites to set persistent cookies, or (2) have Firefox set to restore your previous session, and you did not log out, it would be normal that no login is required when revisiting secure sites.

To make sure this doesn't happen, you have a few different options:

(1) Use only session cookies AND change some hidden settings to make sure they are not saved when your session is restored; or

(2) Clear all cookies at shutdown.

I can list steps for those if you're interested.

定位到答案原位置 👍 0

所有回复 (5)

more options

When you closed down Firefox, did you log-out of all the logged-in web pages? If not, then FF is still logged in to those sites. You should log out of each site.

more options

thanks for the suggestion but in my opinion, that is a security breach. how many people will remember to first log out of all the open windows before shutting down? if I shut down my email window and then open it up again even a minute later, it makes me log in, even though I never logged out. if I shut down FF completely and then come back in a day later, my email window is open without entering any password, the regular one or the master one. FF should require the master password every time you start it up.

more options

选择的解决方案

This is a little bit complicated.

If you allow sites to set persistent cookies to keep you logged in between sessions, Firefox never needs to use your saved password; you are already in on every visit for as long as Firefox keeps the cookie (weeks, months, or years depending on what the site specified).

Alternately, if you limit sites to setting session cookies, after you shut down Firefox, those cookies normally are deleted. But there's an exception for the windows and tabs you left open.

When you restore a previous session, Firefox reinstates the cookies from that session, including the ones that kept you logged in to sites. Secure (HTTPS) sites are handled differently depending on when you restore your session:

  • When Firefox is set to start up automatically with previous windows and tabs: secure session cookies are maintained and reinstated. Your saved login is not needed and not used.
  • When Firefox is set to start up with a home page, and you have the option to restore your previous session manually: secure session cookies are discarded. You will need to login again.

So if you either (1) allow sites to set persistent cookies, or (2) have Firefox set to restore your previous session, and you did not log out, it would be normal that no login is required when revisiting secure sites.

To make sure this doesn't happen, you have a few different options:

(1) Use only session cookies AND change some hidden settings to make sure they are not saved when your session is restored; or

(2) Clear all cookies at shutdown.

I can list steps for those if you're interested.

more options

thank you. now that you've explained it, it makes sense. I know how to make the necessary changes.

more options

You can set the browser.sessionstore.privacy_level pref to 2 (never) or 1 (non-HTTPS) on the about:config page to disable saving cookies via session restore.

The browser.sessionstore.privacy_level_deferred pref is used when you do not reopen the previous session automatically via "Show my windows and tabs from last time" and uses the same values.