Closed Bug 1256134 Opened 10 years ago Closed 10 years ago

An update to prefs.js file through social engineering can be used to redirect users to malicious websites to download malware payload by changing the default homepage

Categories

(Firefox :: Untriaged, defect)

42 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: ayushman999, Unassigned)

Details

Attachments

(1 file)

Attached file POC.py
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36 Steps to reproduce: Wrote a small script to change the homepage to a different site. Opened the browser and it redirected me to that site as usual without me giving a request to that page Actual results: The browser was redirected to the site which I overwrote Expected results: The pref.js file should not be able to be edited. It should only be accessible through the browser to edit and with proper permissions
In order for the file to be writable by Firefox itself which is running with user-privileges, the user needs to have write access to that file. There is no way to make the file "not writable" by the user, but writable by Firefox when it's run by that user. As a result, I'm going to resolve this as invalid and mark it as non-security-sensitive.
Group: firefox-core-security
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: