4 ms·
The attack depends on a secret to match a user-provided string enough for the compression algorithm to notice this redundancy? A counter-measure then would be
by nine_k 12y ago
The attack depends on a secret to match a user-provided string enough for the compression algorithm to notice this redundancy?
A counter-measure then would be to scramble the user input in the page with a random key, and include this key into the page for de-scrambling using JavaScript. It will still efficiently compress the parts of the page which are not user-controlled.
- nickysielicki 12y ago> de-scrambling using JavaScript No thank you.
- strommen 12y agoYes and Yes (assuming your random key isn't guessable). breachattack.com suggests masking the secret with a per-request random key, but masking the user input would work too.