Bug 1479207 (CVE-2017-7788)

Summary: CVE-2017-7788 Mozilla: Sandboxed about:srcdoc frames do not inherit CSP directives (MFSA 2017-18)
Product: [Other] Security Response Reporter: Doran Moppert <dmoppert>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jhorak, security-response-team, stransky
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-09 01:14:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1477026    

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