Vulnerabilities/

BREACH attack

Impact: Low

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.

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

Last updated on May 13, 2024

Use SmartScanner Free version to test for this issue

Download