Closed Bug 1053725 Opened 11 years ago Closed 11 years ago

local (file://) link whitelisting should apply to subdomains

Categories

(Core :: Security: CAPS, defect)

31 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35
Tracking Status
firefox31 --- wontfix
firefox32 + wontfix
firefox33 + fixed
firefox34 + fixed
firefox35 --- fixed
firefox-esr31 33+ fixed

People

(Reporter: Bjoern, Assigned: bholley)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release) Build ID: 20140716183446 Steps to reproduce: We want file:// links to work on all intranet systems without configuring each individual system that maybe gets added in the future. The systems are e. g. - http://wiki.company.com - https://jira.company.com - https://confluence.company.com - ... To achieve this we have a group policy that sets the following preferences: capability.policy.policynames = localfilelinks capability.policy.localfilelinks.checkloaduri.enabled = allAccess capability.policy.localfilelinks.sites = company.com Actual results: This used to work fine in prior versions. Now the links are dead again unless the systems are configured explicitly which is very inconvenient. I guess the cause is the same that caused Bug #995943 and in #995943 it was only fixed for fully specified pages. Expected results: I'd like to be able to specify a pattern of sites genericly again, either how it was before with capability.policy.localfilelinks.sites = company.com or if this is too insecure for some reason, at least with some patterning mechanism like capability.policy.localfilelinks.sites = http://*.company.com, https://*.company.com
[Tracking Requested - why for this release]: Things are broken Bobby?
Blocks: 913734
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(bobbyholley)
(In reply to Boris Zbarsky [:bz] from comment #1) > [Tracking Requested - why for this release]: Things are broken > > Bobby?
Marking 32 as won't fix as it's too late in the cycle to take any potential fix. This is still tracking 33, so a fix on Aurora is appreciated.
bz - see the discussion in bug 1028321 and let me know what you think we should do.
Flags: needinfo?(bobbyholley) → needinfo?(bzbarsky)
How much pain would it be to use the etld service to make foo.jira.com allowed if jira.com is allowed? We'd need something a bit more complicated than a single hashtable lookup but not _that_ much more, I'd think.
Flags: needinfo?(bzbarsky)
Depends on: 1061136
Summary: local (file://) links don't work even when configured for company's domain → local (file://) link whitelisting should apply to subdomains
Attachment #8486099 - Flags: review?(bzbarsky) → review+
Assignee: nobody → bobbyholley
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Comment on attachment 8486099 [details] [diff] [review] When one domain is whitelisted for file:// URI access, whitelist all subdomains. v1 Flagging for ESR approval for similar reasons to bug 1061136. [Approval Request Comment] If this is not a sec:{high,crit} bug, please state case for ESR consideration: User impact if declined: When transitioning to ESR31, enterprise administrators will no longer have a way to whitelist a group of subdomains together. The process of enumerating all of their subdomains explicitly in the file may be tedious or impossible. Fix Landed on Version: 35 Risk to taking this patch (and alternatives if risky): Low risk. String or UUID changes made by this patch: None. See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #8486099 - Flags: approval-mozilla-esr31?
Bobby, is it also possible to have the uplift request for aurora & beta? Thanks
Flags: needinfo?(bobbyholley)
Comment on attachment 8486099 [details] [diff] [review] When one domain is whitelisted for file:// URI access, whitelist all subdomains. v1 See comment 11.
Attachment #8486099 - Flags: approval-mozilla-beta?
Attachment #8486099 - Flags: approval-mozilla-aurora?
Flags: needinfo?(bobbyholley)
Attachment #8486099 - Flags: approval-mozilla-esr31?
Attachment #8486099 - Flags: approval-mozilla-esr31+
Attachment #8486099 - Flags: approval-mozilla-beta?
Attachment #8486099 - Flags: approval-mozilla-beta+
Attachment #8486099 - Flags: approval-mozilla-aurora?
Attachment #8486099 - Flags: approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: