Closed Bug 797342 Opened 13 years ago Closed 9 years ago

assets.mozilla.org -missing recommended X-Frame-Options header

Categories

(Websites :: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: psiinon, Unassigned)

References

()

Details

(Keywords: sec-moderate, wsec-impersonation, wsec-xss, Whiteboard: [infrasec:crossdomain][ws:low][site:assets.mozilla.org])

Issue: Missing recommended header X-Frame-Options Steps to reproduce: 1) Browse http://assets.mozilla.org and https://assets-private.mozillalabs.com 2) Examine the headers returned using a tool like OWASP ZAP Remediation: Set the HTTP header X-Frame-Options to DENY or SAMEORIGIN Risk: X-Frame-Options header is not included in the HTTP response to protect against 'ClickJacking' attacks Most modern Web browsers support the X-Frame-Options HTTP header, ensure it's set on all web pages returned by your site (if you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY.
Whiteboard: [infrasec:crossdomain][ws:low] → [infrasec:crossdomain][ws:low][site:assets.mozilla.org]
It's been fixed somewhere along the way. X-Frame-Options are set to "SAMEORIGIN, SAMEORIGIN" Safari versions 5 and previous will misinterpret this and not be protected, but all modern browsers understand and will process correctly. "SAMEORIGIN" would be preferable but this is good enough. Closing the bug and removing Confidential flag
Group: websites-security
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
I actually don't believe that is true. I'm pretty sure that Firefox doesn't interpret "SAMEORIGIN, SAMEORIGIN" at all. We should fix the config to remove the duplicate header.
You need to log in before you can comment on or make changes to this bug.