Closed Bug 1904234 Opened 2 years ago Closed 2 years ago

Extension Data not deleted after uninstalling firefox

Categories

(Firefox :: Security, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: msudhakar724, Unassigned)

Details

(Keywords: reporter-external, Whiteboard: [client-bounty-form])

Team,

Have found an issue where the extension data was not deleted after uninstalling firefox.

The user installs an extension and the data will not be deleted in MacOs App data folder after uninstall which results in installing an extension without user consent after reinstalling the application.

Steps to reproduce:

  1. Open Firefox Browser.
  2. Install any extension.
  3. Now, uninstall firefox browser.
  4. Install firefox browser again.
  5. Go to extensions and the extension is not removed from browser.

Impact:
The user uninstalls firefox because of plugin was found malware but the extension will be installed again once firefox is reinstalled.

Root Cause:
The extension data in the /Users/<username>/Library/Application Support/Firefox/Profiles/<profile-id>/extensions is not deleted after uninstallling firefox.

POC: https://youtu.be/bR8OxGD3JWA

Flags: sec-bounty?

This is how macOS treats application uninstall for all applications, see e.g. https://www.reddit.com/r/mac/comments/1aooy3w/does_deleting_and_app_really_delete_all_its_data/ . There is nothing Firefox can do about this - macOS doesn't run any of our code when you go through the steps in the video (ie the "uninstall" program is just macOS deleting the Firefox.app file from /Applications - it doesn't run a Firefox "uninstaller" or anything like that).

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Group: firefox-core-security
Flags: sec-bounty? → sec-bounty-
You need to log in before you can comment on or make changes to this bug.