Bug 1479207 (CVE-2017-7788) - CVE-2017-7788 Mozilla: Sandboxed about:srcdoc frames do not inherit CSP directives (MFSA 2017-18)
Summary: CVE-2017-7788 Mozilla: Sandboxed about:srcdoc frames do not inherit CSP direc...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-7788
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1477026
TreeView+ depends on / blocked
 
Reported: 2017-08-08 06:42 UTC by Doran Moppert
Modified: 2021-02-25 23:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-09 01:14:36 UTC


Attachments (Terms of Use)

Description Doran Moppert 2017-08-08 06:42:58 UTC
When an `iframe` has a `sandbox` attribute and its content is specified using `srcdoc`, that content does not inherit the containing page’s Content Security Policy (CSP) as it should unless the sandbox attribute included `allow-same-origin`.


External Reference:

https://www.mozilla.org/en-US/security/advisories/mfsa2017-18/#CVE-2017-7788


Acknowledgements:

Name: the Mozilla project
Upstream: Muneaki Nishimura


Note You need to log in before you can comment on or make changes to this bug.