Vulnerability library
Security checkMay 13, 2024

BREACH attack

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severityBREACHCRIMECSRF

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

BREACH is a variant of the CRIME attack that targets HTTP compression, specifically gzip or DEFLATE algorithms used via the content-encoding option within HTTP. Attackers exploit this compression oracle to extract sensitive information, such as session cookies, by performing a series of brute-force and divide-and-conquer searches. This attack poses a threat to confidentiality and can lead to the compromise of sensitive data.

Test for BREACH vulnerability with SmartScanner

Donwload FREE!

Recommendation

To mitigate BREACH attacks, disable HTTP compression entirely or selectively on pages where sensitive information like session cookies is transmitted. Implement CSRF protection methods as an additional mitigation strategy. Consider disabling compression when the referrer header indicates a cross-site request or when the header is absent.

References

Could your website be exposed too?

SmartScanner can check your website for BREACH attack and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 13, 2024