- From: Martin Thomson <martin.thomson@gmail.com>
- Date: Sat, 27 Dec 2014 20:42:35 -0800
- To: "Ludwig, Sven" <Sven.Ludwig@senacor.com>
- Cc: "public-webappsec@w3.org" <public-webappsec@w3.org>
Perhaps the right interpretation is "report to no-one but X". That would cause two conflicting directives to turn into "don't report to anyone". (If you think of each directive as narrowing scope, then logically the absence of a -report-only directive is to report to everyone, but I think we can handle that.) On 26 December 2014 at 17:40, Ludwig, Sven <Sven.Ludwig@senacor.com> wrote: > Hi, > > > > following the excellent talk https://www.youtube.com/watch?v=pocsv39pNXA by > Adam Barth, CSP supports setting multiple policies (i.e. multiple > Content-Security-Policy headers) in a response, which then all must be > fulfilled. One reason for this principle as mentioned in the talk is that an > attacker might somehow be able to add his own CSP header to the response, > however without replacing existing headers coming from the server. In this > case the attack does not open up security, because additional > Content-Security-Policy headers can only introduce more restrictions. > > > > Having said that, the header Content-Security-Policy-Report-Only could be > considered by an attacker to add, to open up security. > > > > Right now I am not sure if this could be an issue. > > > > If any Content-Security-Policy headers have precedence over any > Content-Security-Policy-Report-Only headers, the attacker would still not be > able to open up security in the above mentioned way. Actually, I expect it > to work like that. This should be mentioned in the section > http://www.w3.org/TR/CSP2/#content-security-policy-report-only > > > > Kind Regards, > > Sven > > > > > > Sven Ludwig > ______________________________ > Senacor Technologies AG > Joseph-Schumpeter-Allee 1 > 53227 Bonn > > T +49 (228) 7636 - 204 > F +49 (228) 7636 - 100 > M +49 (172) 81 40 733 > > Sven.Ludwig@senacor.com > www.senacor.com > > > Senacor Technologies Aktiengesellschaft - Sitz: Schwaig b. Nbg. - > Amtsgericht Nbg.- Reg.-Nr.: HRB 23098 > Vorstand: Matthias Tomann, Marcus Purzer - Aufsichtsratsvorsitzender: > Mathias J. Lindermeir > > Diese E-Mail inklusive Anlagen enthält vertrauliche und/oder rechtlich > geschützte Informationen. Wenn Sie > nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten, > informieren Sie bitte den Absender > und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser E-Mail ist > nicht gestattet. > > This e-mail including any attachments may contain confidential and/or > privileged information. If you are > not the intended recipient (or have received this e-mail in error) please > notify the sender immediately and > destroy this e-mail. Any unauthorized copying, disclosure or distribution of > the materials in this e-mail is > strictly forbidden.
Received on Sunday, 28 December 2014 04:43:13 UTC