Passwords exposed in plain text in network inspector

Discussion of general topics about Mozilla Firefox
Post Reply
antic
Posts: 671
Joined: December 12th, 2004, 8:40 am
Location: Oz

Passwords exposed in plain text in network inspector

Post by antic »

This may be well known but I just noticed it... it seems Firefox has a glaring security hole in DevTools.

Upon submission of a login form, passwords are exposed in plain in the "Request" tab of the Network Monitor in Dev Tools.

An example from logging in to NameCheap:
Image

Physical access required, so consider workplace harassment, disgruntled employee, abusive partner, etc.
  • 1. When person is away, sneak over and log out of their account you want access to.
    2. Open the network inspector in a background window, tick "persist logs".
    3. They come back, log in again, then later you can grab their credentials from the network inspector.
Yes MFA helps if used, but that's not the point. A user assumes that a HTTPS connection means their browser is "secure".

I mean, rule #1 of security is no plain text passwords.

This "security flaw" (as i see it) allows any tech-savvy person to relatively easily see passwords.
So, in the same way Firefox visually hides a "password" text field from observation, shouldn't the Network inspector do the same, instead of revealing the text?

ed: seems Chrome does this as well!
Image

This strikes me as totally bizarre.
Post Reply