-
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":1,"isInitial":true,"journeyId":"c4672792-8de8-4c99-b595-40c80654eb94","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":716.9000000059605,"redirectCount":0,"resourceLoadedEnd":764.4000000059605,"resourceLoadedStart":103.6000000089407,"resourceTiming":[{"duration":229.79999999701977,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":103.6000000089407,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":103.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":333.40000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":229.5,"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":103.90000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":103.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":333.40000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":229.6000000089407,"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":104,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":104,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":333.6000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":229.5,"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":104.1000000089407,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":104.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":333.6000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":229.5,"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":104.20000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":104.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":333.70000000298023,"responseStart":0,"secureConnectionStart":0},{"duration":241.1000000089407,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":104.29999999701977,"connectEnd":104.29999999701977,"connectStart":104.29999999701977,"domainLookupEnd":104.29999999701977,"domainLookupStart":104.29999999701977,"fetchStart":104.29999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":104.29999999701977,"responseEnd":345.40000000596046,"responseStart":345.40000000596046,"secureConnectionStart":104.29999999701977},{"duration":319.5,"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":104.40000000596046,"connectEnd":104.40000000596046,"connectStart":104.40000000596046,"domainLookupEnd":104.40000000596046,"domainLookupStart":104.40000000596046,"fetchStart":104.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":104.40000000596046,"responseEnd":423.90000000596046,"responseStart":423.90000000596046,"secureConnectionStart":104.40000000596046},{"duration":322.20000000298023,"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":104.5,"connectEnd":104.5,"connectStart":104.5,"domainLookupEnd":104.5,"domainLookupStart":104.5,"fetchStart":104.5,"redirectEnd":0,"redirectStart":0,"requestStart":104.5,"responseEnd":426.70000000298023,"responseStart":426.70000000298023,"secureConnectionStart":104.5},{"duration":322.5,"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":104.6000000089407,"connectEnd":104.6000000089407,"connectStart":104.6000000089407,"domainLookupEnd":104.6000000089407,"domainLookupStart":104.6000000089407,"fetchStart":104.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":104.6000000089407,"responseEnd":427.1000000089407,"responseStart":427.1000000089407,"secureConnectionStart":104.6000000089407},{"duration":322.70000000298023,"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":104.79999999701977,"connectEnd":104.79999999701977,"connectStart":104.79999999701977,"domainLookupEnd":104.79999999701977,"domainLookupStart":104.79999999701977,"fetchStart":104.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":104.79999999701977,"responseEnd":427.5,"responseStart":427.5,"secureConnectionStart":104.79999999701977},{"duration":323,"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":104.90000000596046,"connectEnd":104.90000000596046,"connectStart":104.90000000596046,"domainLookupEnd":104.90000000596046,"domainLookupStart":104.90000000596046,"fetchStart":104.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":104.90000000596046,"responseEnd":427.90000000596046,"responseStart":427.90000000596046,"secureConnectionStart":104.90000000596046},{"duration":323.29999999701977,"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":105,"connectEnd":105,"connectStart":105,"domainLookupEnd":105,"domainLookupStart":105,"fetchStart":105,"redirectEnd":0,"redirectStart":0,"requestStart":105,"responseEnd":428.29999999701977,"responseStart":428.29999999701977,"secureConnectionStart":105},{"duration":323.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":105.1000000089407,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":105.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":428.6000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":323.5,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/81da1c7492d7ee698ae1cc31902498d9/shortcuts.js?context=issuenavigation&context=issueaction","startTime":105.20000000298023,"connectEnd":105.20000000298023,"connectStart":105.20000000298023,"domainLookupEnd":105.20000000298023,"domainLookupStart":105.20000000298023,"fetchStart":105.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":105.20000000298023,"responseEnd":428.70000000298023,"responseStart":428.70000000298023,"secureConnectionStart":105.20000000298023},{"duration":324.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":105.29999999701977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":105.29999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":430.1000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":324.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":105.40000000596046,"connectEnd":105.40000000596046,"connectStart":105.40000000596046,"domainLookupEnd":105.40000000596046,"domainLookupStart":105.40000000596046,"fetchStart":105.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":105.40000000596046,"responseEnd":430.20000000298023,"responseStart":430.20000000298023,"secureConnectionStart":105.40000000596046},{"duration":559.4000000059605,"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":106,"connectEnd":106,"connectStart":106,"domainLookupEnd":106,"domainLookupStart":106,"fetchStart":106,"redirectEnd":0,"redirectStart":0,"requestStart":106,"responseEnd":665.4000000059605,"responseStart":665.4000000059605,"secureConnectionStart":106}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":34,"responseStart":98,"responseEnd":99,"domLoading":102,"domInteractive":819,"domContentLoadedEventStart":819,"domContentLoadedEventEnd":861,"domComplete":1517,"loadEventStart":1517,"loadEventEnd":1519,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"25869b5e1a5a41","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":31,"dbReadsTimeInMs":2,"dbConnsTimeInMs":4,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}