Re: [Content Security Policy] Proposal to move the debate forward

On 1/28/11 3:33 PM, Adam Barth wrote:
>> Does allowing attackers to rewrite the text on your page (but not run any
>> script) have security impact?
>>
>> Allowing arbitrary font loads allows various attacks that depend on
>> misinforming the user about what buttons and such will do, for example.
>
> In this threat model, they can already do both those things without
> the ability to load fonts.  They just make an opaque DIV that covers
> the whole page and write whatever they like into it.

I think we're talking about different threat models.

In my threat model, the page does not allow injection of script, and 
possibly not of content, but does allow some styling.

The attacker's goal is to get some of the page-provided script to run, 
or a page-provided form to be submitted, with data the attacker can 
control or influence.

Covering the whole page with a div won't do the trick there.

-Boris

Received on Friday, 28 January 2011 20:53:54 UTC