-
Type:
Change Request
-
Status:
Closed
-
Priority:
Medium
-
Resolution:
Done
-
-
-
Module:
BenAdmin
- Security
-
-
Item State:
Production Complete
- Closed
-
Issue Importance:
Must Have
-
Vulnerability Description
Sending the new 'X-Content-Type-Options' response header with the value 'nosniff' will prevent certain browsers from MIME-sniffing a response away from the declared content-type. The missing header causes these browsers to try to determine the content-type and encoding of the response, even when these properties are defined correctly.
Impact
This can make the web application vulnerable to Cross-Site Scripting (XSS) attacks. E.g. the Internet Explorer and Safari treat responses with the content-type 'text/plain' as HTML, if they contain HTML tags.
Verification and Attack Information
Praetorian discovered this vulnerability through manual testing. Specifically, Praetorian found the "X-Content-Type-Options" header was missing from server responses of the affected system.
Recommendation
Set the following HTTP header especially in all responses which contain user input:
X-Content-Type-Options: nosniff
References
https://www.owasp.org/index.php/List_of_useful_HTTP_headers
http://blogs.msdn.com/b/ie/archive/2008/09/02/ie8-security-part-vi-beta-2-update.aspx
{"report":{"apdex":1,"isInitial":true,"journeyId":"afbdcd28-827b-4c84-b2f0-462de0baf386","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":783.6000000089407,"redirectCount":0,"resourceLoadedEnd":868.9000000059605,"resourceLoadedStart":190.20000000298023,"resourceTiming":[{"duration":184.90000000596046,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":190.20000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":190.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":375.1000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":184.6000000089407,"initiatorType":"link","name":"https://jira.workterra.net/s/dd6a0911920485696ac20493290df627-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/css/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":190.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":190.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":375.1000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":184.70000000298023,"initiatorType":"link","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":190.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":190.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":375.20000000298023,"responseStart":0,"secureConnectionStart":0},{"duration":184.59999999403954,"initiatorType":"link","name":"https://jira.workterra.net/s/bd548f27bbf8f278bd83b60dd3284ed8-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":190.70000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":190.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":375.29999999701977,"responseStart":0,"secureConnectionStart":0},{"duration":184.70000000298023,"initiatorType":"link","name":"https://jira.workterra.net/s/70725731a158a7140f19ddbd4201ba27-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":190.79999999701977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":190.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":375.5,"responseStart":0,"secureConnectionStart":0},{"duration":204.5,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":190.90000000596046,"connectEnd":190.90000000596046,"connectStart":190.90000000596046,"domainLookupEnd":190.90000000596046,"domainLookupStart":190.90000000596046,"fetchStart":190.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":190.90000000596046,"responseEnd":395.40000000596046,"responseStart":395.40000000596046,"secureConnectionStart":190.90000000596046},{"duration":236.20000000298023,"initiatorType":"script","name":"https://jira.workterra.net/s/6ce676f2a5bcc9651cef6e7956f05def-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/js/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":191,"connectEnd":191,"connectStart":191,"domainLookupEnd":191,"domainLookupStart":191,"fetchStart":191,"redirectEnd":0,"redirectStart":0,"requestStart":191,"responseEnd":427.20000000298023,"responseStart":427.20000000298023,"secureConnectionStart":191},{"duration":239.19999998807907,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/4.1.5/_/download/resources/com.atlassian.plugins.atlassian-chaperone:hotspot-tour/hotspot-tour.js?batch=false&locale=en-US","startTime":191.1000000089407,"connectEnd":191.1000000089407,"connectStart":191.1000000089407,"domainLookupEnd":191.1000000089407,"domainLookupStart":191.1000000089407,"fetchStart":191.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":191.1000000089407,"responseEnd":430.29999999701977,"responseStart":430.29999999701977,"secureConnectionStart":191.1000000089407},{"duration":239.79999999701977,"initiatorType":"script","name":"https://jira.workterra.net/s/6aa3fcf1fac5fd551eee0b69077524e6-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":191.20000000298023,"connectEnd":191.20000000298023,"connectStart":191.20000000298023,"domainLookupEnd":191.20000000298023,"domainLookupStart":191.20000000298023,"fetchStart":191.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":191.20000000298023,"responseEnd":431,"responseStart":431,"secureConnectionStart":191.20000000298023},{"duration":240.5,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":191.40000000596046,"connectEnd":191.40000000596046,"connectStart":191.40000000596046,"domainLookupEnd":191.40000000596046,"domainLookupStart":191.40000000596046,"fetchStart":191.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":191.40000000596046,"responseEnd":431.90000000596046,"responseStart":431.90000000596046,"secureConnectionStart":191.40000000596046},{"duration":240.79999999701977,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":191.6000000089407,"connectEnd":191.6000000089407,"connectStart":191.6000000089407,"domainLookupEnd":191.6000000089407,"domainLookupStart":191.6000000089407,"fetchStart":191.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":191.6000000089407,"responseEnd":432.40000000596046,"responseStart":432.40000000596046,"secureConnectionStart":191.6000000089407},{"duration":241.19999998807907,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":191.6000000089407,"connectEnd":191.6000000089407,"connectStart":191.6000000089407,"domainLookupEnd":191.6000000089407,"domainLookupStart":191.6000000089407,"fetchStart":191.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":191.6000000089407,"responseEnd":432.79999999701977,"responseStart":432.79999999701977,"secureConnectionStart":191.6000000089407},{"duration":241.5,"initiatorType":"link","name":"https://jira.workterra.net/s/05c862146699bb029ceb0a489075e63b-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/bcd66e9a133a1b9f5fd14b56841e1c5b/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":191.79999999701977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":191.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":433.29999999701977,"responseStart":0,"secureConnectionStart":0},{"duration":241.5,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/81da1c7492d7ee698ae1cc31902498d9/shortcuts.js?context=issuenavigation&context=issueaction","startTime":191.79999999701977,"connectEnd":191.79999999701977,"connectStart":191.79999999701977,"domainLookupEnd":191.79999999701977,"domainLookupStart":191.79999999701977,"fetchStart":191.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":191.79999999701977,"responseEnd":433.29999999701977,"responseStart":433.29999999701977,"secureConnectionStart":191.79999999701977},{"duration":241.79999999701977,"initiatorType":"link","name":"https://jira.workterra.net/s/9095228fa10daa2d3e3d7d5760c95e91-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":192,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":192,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":433.79999999701977,"responseStart":0,"secureConnectionStart":0},{"duration":241.79999999701977,"initiatorType":"script","name":"https://jira.workterra.net/s/c19a1b46e985d7fb85efaf27c8febfdd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":192.1000000089407,"connectEnd":192.1000000089407,"connectStart":192.1000000089407,"domainLookupEnd":192.1000000089407,"domainLookupStart":192.1000000089407,"fetchStart":192.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":192.1000000089407,"responseEnd":433.90000000596046,"responseStart":433.90000000596046,"secureConnectionStart":192.1000000089407}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":115,"responseStart":185,"responseEnd":185,"domLoading":188,"domInteractive":925,"domContentLoadedEventStart":925,"domContentLoadedEventEnd":964,"domComplete":1463,"loadEventStart":1463,"loadEventEnd":1465,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"3b3542bdd6fca0","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":31,"dbReadsTimeInMs":2,"dbConnsTimeInMs":3,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}