Cross-origin read SOP violation by extension via search provider via redirect
Categories
(Firefox :: Search, defect, P3)
Tracking
()
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Keywords: csectype-other, reporter-external, sec-low, Whiteboard: [reporter-external] [client-bounty-form] [verif?][post-critsmash-triage][adv-main87-])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
+++ This bug was initially created as a clone of Bug #1692623 +++
This bug is to address fixing the case from bug 1692623 comment 11, where a icon URL that is pointing to a redirect could still load a resource that is not an image url.
This will also fix handling of content types when a redirect is involved.
| Assignee | ||
Comment 1•5 years ago
|
||
Depends on D105484
| Assignee | ||
Comment 2•5 years ago
|
||
Depends on D105994
| Assignee | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Updated•5 years ago
|
| Assignee | ||
Comment 4•5 years ago
|
||
For QA: This is harder to test, since it would need something that redirected with the wrong content type. I think we can probably qe-verify- here as we've got tests.
| Assignee | ||
Comment 5•5 years ago
|
||
Comment on attachment 9204617 [details]
Bug 1694183 - When loading icons, use the content type of the final target, not a redirect response. r?mak!
Beta/Release Uplift Approval Request
- User impact if declined: We should probably uplift this so it is released at the same time as its partner bug - bug 1692623, though I don't think it is critical.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce: Difficult for QA to reproduce without custom set-up.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small change to correct how redirects and content types are working. We already have tests (not landed yet due to security issue) to check it works.
- String changes made/needed: None
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Comment on attachment 9204617 [details]
Bug 1694183 - When loading icons, use the content type of the final target, not a redirect response. r?mak!
Approved for 87.0b3.
Comment 7•5 years ago
|
||
| uplift | ||
Comment 8•5 years ago
|
||
From earlier discussion with Mark, I don't believe this needs backport to ESR. Feel free to nominate if you feel strongly otherwise, however.
Updated•5 years ago
|
Comment 9•4 years ago
|
||
Add tests to ensure that search icons are correctly loaded via redirects. r=mak
https://hg.mozilla.org/integration/autoland/rev/db9654a864f0ac2192779de5493b297dec93317f
https://hg.mozilla.org/mozilla-central/rev/db9654a864f0
Updated•4 years ago
|
Updated•2 years ago
|
Description
•