Project

General

Profile

Actions

Task #100887

open

Allow remote proxies to handle CSP nonce values

Added by Oliver Hader about 1 year ago. Updated 5 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Security
Target version:
-
Start date:
2023-05-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

→ find examples at https://scotthelme.co.uk/csp-nonces-the-easy-way-with-cloudflare-workers/

Find a way that e.g. uses a static nonce value, e.g. <script src="..." nonce="[[nonce-placeholder]]"> which will be substituted by a remote proxy server (nginx, CloudFlare, ...). In addition, that proxy server would have to take care of adjusting the CSP HTTP headers as well.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #103149: CSP prevents sitemap.xml inline CSS stylesUnder Review2024-02-19

Actions
Actions #1

Updated by Oliver Hader about 1 year ago

  • Assignee deleted (Oliver Hader)
Actions #2

Updated by Oliver Hader about 1 year ago

  • Description updated (diff)
Actions #3

Updated by Oliver Hader about 1 year ago

  • Tracker changed from Bug to Task
Actions #4

Updated by Torben Hansen almost 1 year ago

Benjamin Franzke found this https://serverfault.com/a/1064775 discussion. So in conclusion, a cached nonce may not be a general problem for the CSP

Actions #5

Updated by Oliver Hader almost 1 year ago

Torben Hansen wrote in #note-4:

Benjamin Franzke found this https://serverfault.com/a/1064775 discussion. So in conclusion, a cached nonce may not be a general problem for the CSP

As long as the nonce changes when the content is changed, this is okay.

However for TYPO3 USER_INT or COA_INT it is unknown, which content has been served previously. I think having a few examples and documentation for dynamic workers on CloudFlare or Varnish would be a good thing.

Actions #6

Updated by Gerrit Code Review 9 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #7

Updated by Gerrit Code Review 9 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #8

Updated by Gerrit Code Review 9 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #9

Updated by Gerrit Code Review 9 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #10

Updated by Gerrit Code Review 9 months ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #11

Updated by Gerrit Code Review 9 months ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #12

Updated by Gerrit Code Review 9 months ago

Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #13

Updated by Gerrit Code Review 9 months ago

Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #14

Updated by Gerrit Code Review 9 months ago

Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #15

Updated by Gerrit Code Review 7 months ago

Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #16

Updated by Gerrit Code Review 7 months ago

Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #17

Updated by Gerrit Code Review 7 months ago

Patch set 12 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #18

Updated by Gerrit Code Review 7 months ago

Patch set 13 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #19

Updated by Gerrit Code Review 7 months ago

Patch set 14 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #20

Updated by Gerrit Code Review 7 months ago

Patch set 15 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #21

Updated by Gerrit Code Review 7 months ago

Patch set 16 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #22

Updated by Gerrit Code Review 7 months ago

Patch set 17 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #23

Updated by Gerrit Code Review 7 months ago

Patch set 18 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #24

Updated by Gerrit Code Review 7 months ago

Patch set 19 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #25

Updated by Gerrit Code Review 7 months ago

Patch set 20 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #26

Updated by Gerrit Code Review 7 months ago

Patch set 21 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #27

Updated by Gerrit Code Review 7 months ago

Patch set 22 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #28

Updated by Gerrit Code Review 6 months ago

Patch set 23 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #29

Updated by Gerrit Code Review 6 months ago

Patch set 24 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #30

Updated by Gerrit Code Review 6 months ago

Patch set 25 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #31

Updated by Gerrit Code Review 6 months ago

Patch set 26 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #32

Updated by Gerrit Code Review 5 months ago

Patch set 27 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #33

Updated by Gerrit Code Review 5 months ago

Patch set 28 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80554

Actions #34

Updated by Oliver Hader 16 days ago

  • Related to Bug #103149: CSP prevents sitemap.xml inline CSS styles added
Actions

Also available in: Atom PDF