Closed
Bug 1053725
Opened 11 years ago
Closed 11 years ago
local (file://) link whitelisting should apply to subdomains
Categories
(Core :: Security: CAPS, defect)
Tracking
()
People
(Reporter: Bjoern, Assigned: bholley)
References
Details
Attachments
(1 file)
5.56 KB,
patch
|
bzbarsky
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
Sylvestre
:
approval-mozilla-esr31+
|
Details | Diff | Splinter Review |
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
![]() |
||
Comment 1•11 years ago
|
||
[Tracking Requested - why for this release]: Things are broken
Bobby?
Blocks: 913734
Status: UNCONFIRMED → NEW
tracking-firefox32:
--- → ?
tracking-firefox33:
--- → ?
tracking-firefox34:
--- → ?
tracking-firefox-esr31:
--- → ?
Ever confirmed: true
Flags: needinfo?(bobbyholley)
Comment 2•11 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #1)
> [Tracking Requested - why for this release]: Things are broken
>
> Bobby?
Comment 3•11 years ago
|
||
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.
status-firefox31:
--- → wontfix
status-firefox32:
--- → wontfix
status-firefox33:
--- → affected
status-firefox34:
--- → affected
Assignee | ||
Comment 4•11 years ago
|
||
bz - see the discussion in bug 1028321 and let me know what you think we should do.
Flags: needinfo?(bobbyholley) → needinfo?(bzbarsky)
![]() |
||
Comment 5•11 years ago
|
||
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)
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #8486099 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•11 years ago
|
Summary: local (file://) links don't work even when configured for company's domain → local (file://) link whitelisting should apply to subdomains
![]() |
||
Updated•11 years ago
|
Attachment #8486099 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Assignee: nobody → bobbyholley
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Assignee | ||
Comment 10•11 years ago
|
||
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?
Updated•11 years ago
|
status-firefox-esr31:
--- → affected
Updated•11 years ago
|
status-firefox35:
--- → fixed
Comment 11•11 years ago
|
||
Bobby, is it also possible to have the uplift request for aurora & beta? Thanks
Flags: needinfo?(bobbyholley)
Assignee | ||
Comment 12•11 years ago
|
||
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)
Updated•11 years ago
|
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+
Comment 13•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/6703d9aa4a0a
https://hg.mozilla.org/releases/mozilla-beta/rev/a91c79c7e64e
https://hg.mozilla.org/releases/mozilla-esr31/rev/5116585a16b7
Flags: in-testsuite+
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•