-
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":"5e3c5c0f-e916-4d0a-ae89-91e635bfb980","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":805.8000000119209,"redirectCount":0,"resourceLoadedEnd":817,"resourceLoadedStart":92.40000003576279,"resourceTiming":[{"duration":290.19999998807907,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":92.40000003576279,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":92.40000003576279,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":382.60000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":289.89999997615814,"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":92.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":92.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":382.60000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":289.9000000357628,"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":92.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":92.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":382.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":289.89999997615814,"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":92.90000003576279,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":92.90000003576279,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":382.80000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":289.9000000357628,"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":93,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":93,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":382.9000000357628,"responseStart":0,"secureConnectionStart":0},{"duration":300.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":93.10000002384186,"connectEnd":93.10000002384186,"connectStart":93.10000002384186,"domainLookupEnd":93.10000002384186,"domainLookupStart":93.10000002384186,"fetchStart":93.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":93.10000002384186,"responseEnd":393.60000002384186,"responseStart":393.60000002384186,"secureConnectionStart":93.10000002384186},{"duration":323.4000000357628,"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":93.30000001192093,"connectEnd":93.30000001192093,"connectStart":93.30000001192093,"domainLookupEnd":93.30000001192093,"domainLookupStart":93.30000001192093,"fetchStart":93.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":93.30000001192093,"responseEnd":416.7000000476837,"responseStart":416.7000000476837,"secureConnectionStart":93.30000001192093},{"duration":326.89999997615814,"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":93.40000003576279,"connectEnd":93.40000003576279,"connectStart":93.40000003576279,"domainLookupEnd":93.40000003576279,"domainLookupStart":93.40000003576279,"fetchStart":93.40000003576279,"redirectEnd":0,"redirectStart":0,"requestStart":93.40000003576279,"responseEnd":420.30000001192093,"responseStart":420.30000001192093,"secureConnectionStart":93.40000003576279},{"duration":327.4000000357628,"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":93.5,"connectEnd":93.5,"connectStart":93.5,"domainLookupEnd":93.5,"domainLookupStart":93.5,"fetchStart":93.5,"redirectEnd":0,"redirectStart":0,"requestStart":93.5,"responseEnd":420.9000000357628,"responseStart":420.9000000357628,"secureConnectionStart":93.5},{"duration":327.80000001192093,"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":93.60000002384186,"connectEnd":93.60000002384186,"connectStart":93.60000002384186,"domainLookupEnd":93.60000002384186,"domainLookupStart":93.60000002384186,"fetchStart":93.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":93.60000002384186,"responseEnd":421.4000000357628,"responseStart":421.4000000357628,"secureConnectionStart":93.60000002384186},{"duration":328.0999999642372,"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":93.70000004768372,"connectEnd":93.70000004768372,"connectStart":93.70000004768372,"domainLookupEnd":93.70000004768372,"domainLookupStart":93.70000004768372,"fetchStart":93.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":93.70000004768372,"responseEnd":421.80000001192093,"responseStart":421.80000001192093,"secureConnectionStart":93.70000004768372},{"duration":328.39999997615814,"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":93.70000004768372,"connectEnd":93.70000004768372,"connectStart":93.70000004768372,"domainLookupEnd":93.70000004768372,"domainLookupStart":93.70000004768372,"fetchStart":93.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":93.70000004768372,"responseEnd":422.10000002384186,"responseStart":422.10000002384186,"secureConnectionStart":93.70000004768372},{"duration":331.80000001192093,"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":93.90000003576279,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":93.90000003576279,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":425.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":328.60000002384186,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/81da1c7492d7ee698ae1cc31902498d9/shortcuts.js?context=issuenavigation&context=issueaction","startTime":94,"connectEnd":94,"connectStart":94,"domainLookupEnd":94,"domainLookupStart":94,"fetchStart":94,"redirectEnd":0,"redirectStart":0,"requestStart":94,"responseEnd":422.60000002384186,"responseStart":422.60000002384186,"secureConnectionStart":94},{"duration":331.80000001192093,"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":94.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":94.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":425.9000000357628,"responseStart":0,"secureConnectionStart":0},{"duration":329,"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":94.20000004768372,"connectEnd":94.20000004768372,"connectStart":94.20000004768372,"domainLookupEnd":94.20000004768372,"domainLookupStart":94.20000004768372,"fetchStart":94.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":94.20000004768372,"responseEnd":423.2000000476837,"responseStart":423.2000000476837,"secureConnectionStart":94.20000004768372},{"duration":664.6999999880791,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":94.80000001192093,"connectEnd":94.80000001192093,"connectStart":94.80000001192093,"domainLookupEnd":94.80000001192093,"domainLookupStart":94.80000001192093,"fetchStart":94.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":94.80000001192093,"responseEnd":759.5,"responseStart":759.4000000357628,"secureConnectionStart":94.80000001192093}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":5,"responseStart":87,"responseEnd":88,"domLoading":90,"domInteractive":894,"domContentLoadedEventStart":894,"domContentLoadedEventEnd":946,"domComplete":1143,"loadEventStart":1143,"loadEventEnd":1146,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"d895d88564bfae","effectiveType":"4g","downlink":9.3,"rtt":0,"serverDuration":47,"dbReadsTimeInMs":13,"dbConnsTimeInMs":15,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}