-
Type:
Change Request
-
Status:
Closed
-
Priority:
Medium
-
Resolution:
Done
-
-
-
Module:
BenAdmin
- Security
-
-
Item State:
Production Complete
- Closed
-
Issue Importance:
Must Have
-
Vulnerability Description
The server does not include a Content-Security-Policy header in HTTP(S) responses.
Impact
Content Security Policy is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. To use CSP, the developer writes a set of rules to govern which servers an app can open connections to, limit the types of content it can download from those servers, and restrict the use of dangerous features like inline scripts and the eval function.
Verification and Attack Information
Praetorian identified this issue through a manual application walkthrough by reviewing HTTP headers. While doing so, Praetorian noted that Content-Security-Policy header was not included in server response headers.
Recommendation
Best practices for web applications suggest that servers should specify a Content Security Policy (CSP) to whitelist the actions that their users' browsers are allowed to take.
References
https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Introducing_Content_Security_Policy
http://www.html5rocks.com/en/tutorials/security/content-security-policy/
{"report":{"apdex":0.5,"isInitial":true,"journeyId":"d1d32091-2078-45eb-b956-3a667765b4c8","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":1010.3000000119209,"redirectCount":0,"resourceLoadedEnd":1062.199999988079,"resourceLoadedStart":237.0999999642372,"resourceTiming":[{"duration":352.60000002384186,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":237.0999999642372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":237.0999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":589.6999999880791,"responseStart":0,"secureConnectionStart":0},{"duration":352.30000001192093,"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":237.39999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":237.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":589.6999999880791,"responseStart":0,"secureConnectionStart":0},{"duration":352.80000001192093,"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":237.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":237.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":590.3000000119209,"responseStart":0,"secureConnectionStart":0},{"duration":353.10000002384186,"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":237.5999999642372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":237.5999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":590.6999999880791,"responseStart":0,"secureConnectionStart":0},{"duration":353.7000000476837,"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":237.5999999642372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":237.5999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":591.3000000119209,"responseStart":0,"secureConnectionStart":0},{"duration":399.2999999523163,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":237.80000001192093,"connectEnd":237.80000001192093,"connectStart":237.80000001192093,"domainLookupEnd":237.80000001192093,"domainLookupStart":237.80000001192093,"fetchStart":237.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":237.80000001192093,"responseEnd":637.0999999642372,"responseStart":637.0999999642372,"secureConnectionStart":237.80000001192093},{"duration":435.69999998807907,"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":237.89999997615814,"connectEnd":237.89999997615814,"connectStart":237.89999997615814,"domainLookupEnd":237.89999997615814,"domainLookupStart":237.89999997615814,"fetchStart":237.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":237.89999997615814,"responseEnd":673.5999999642372,"responseStart":673.5999999642372,"secureConnectionStart":237.89999997615814},{"duration":438.7000000476837,"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":238.0999999642372,"connectEnd":238.0999999642372,"connectStart":238.0999999642372,"domainLookupEnd":238.0999999642372,"domainLookupStart":238.0999999642372,"fetchStart":238.0999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":238.0999999642372,"responseEnd":676.8000000119209,"responseStart":676.8000000119209,"secureConnectionStart":238.0999999642372},{"duration":439.10000002384186,"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":238.19999998807907,"connectEnd":238.19999998807907,"connectStart":238.19999998807907,"domainLookupEnd":238.19999998807907,"domainLookupStart":238.19999998807907,"fetchStart":238.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":238.19999998807907,"responseEnd":677.3000000119209,"responseStart":677.3000000119209,"secureConnectionStart":238.19999998807907},{"duration":439.2999999523163,"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":238.30000001192093,"connectEnd":238.30000001192093,"connectStart":238.30000001192093,"domainLookupEnd":238.30000001192093,"domainLookupStart":238.30000001192093,"fetchStart":238.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":238.30000001192093,"responseEnd":677.5999999642372,"responseStart":677.5999999642372,"secureConnectionStart":238.30000001192093},{"duration":439.60000002384186,"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":238.39999997615814,"connectEnd":238.39999997615814,"connectStart":238.39999997615814,"domainLookupEnd":238.39999997615814,"domainLookupStart":238.39999997615814,"fetchStart":238.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":238.39999997615814,"responseEnd":678,"responseStart":678,"secureConnectionStart":238.39999997615814},{"duration":439.80000001192093,"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":238.5,"connectEnd":238.5,"connectStart":238.5,"domainLookupEnd":238.5,"domainLookupStart":238.5,"fetchStart":238.5,"redirectEnd":0,"redirectStart":0,"requestStart":238.5,"responseEnd":678.3000000119209,"responseStart":678.3000000119209,"secureConnectionStart":238.5},{"duration":440.10000002384186,"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":238.5999999642372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":238.5999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":678.6999999880791,"responseStart":0,"secureConnectionStart":0},{"duration":440,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/81da1c7492d7ee698ae1cc31902498d9/shortcuts.js?context=issuenavigation&context=issueaction","startTime":238.69999998807907,"connectEnd":238.69999998807907,"connectStart":238.69999998807907,"domainLookupEnd":238.69999998807907,"domainLookupStart":238.69999998807907,"fetchStart":238.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":238.69999998807907,"responseEnd":678.6999999880791,"responseStart":678.6999999880791,"secureConnectionStart":238.69999998807907},{"duration":440.19999998807907,"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":238.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":238.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":679.0999999642372,"responseStart":0,"secureConnectionStart":0},{"duration":440.4000000357628,"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":238.89999997615814,"connectEnd":238.89999997615814,"connectStart":238.89999997615814,"domainLookupEnd":238.89999997615814,"domainLookupStart":238.89999997615814,"fetchStart":238.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":238.89999997615814,"responseEnd":679.3000000119209,"responseStart":679.3000000119209,"secureConnectionStart":238.89999997615814},{"duration":659.1000000238419,"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":239.5999999642372,"connectEnd":239.5999999642372,"connectStart":239.5999999642372,"domainLookupEnd":239.5999999642372,"domainLookupStart":239.5999999642372,"fetchStart":239.5999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":239.5999999642372,"responseEnd":898.6999999880791,"responseStart":898.6999999880791,"secureConnectionStart":239.5999999642372}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":81,"responseStart":231,"responseEnd":232,"domLoading":235,"domInteractive":1118,"domContentLoadedEventStart":1118,"domContentLoadedEventEnd":1176,"domComplete":1437,"loadEventStart":1437,"loadEventEnd":1439,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"250bd1590d0f3a","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":110,"dbReadsTimeInMs":12,"dbConnsTimeInMs":14,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}