GitSwarm 2016.3-2 Documentation


How we manage the TLS protocol CRIME vulnerability

CRIME ("Compression Ratio Info-leak Made Easy") is a security exploit against secret web cookies over connections using the HTTPS and SPDY protocols that also use data compression. When used to recover the content of secret authentication cookies, it allows an attacker to perform session hijacking on an authenticated web session, allowing the launching of further attacks. (CRIME)

Description

The TLS Protocol CRIME Vulnerability affects compression over HTTPS, therefore it warns against using SSL Compression (for example gzip) or SPDY which optionally uses compression as well.

GitSwarm supports both gzip and SPDY and mitigates the CRIME vulnerability by deactivating gzip when HTTPS is enabled. You can see the sources of the files in question:

Although SPDY is enabled in package installations, CRIME relies on compression (the 'C') and the default compression level in NGINX's SPDY module is 0 (no compression).

Nessus

The Nessus scanner, reports a possible CRIME vulnerability in GitSwarm similar to the following format:

Description

This remote service has one of two configurations that are known to be required for the CRIME attack:
SSL/TLS compression is enabled.
TLS advertises the SPDY protocol earlier than version 4.

...

Output

The following configuration indicates that the remote service may be vulnerable to the CRIME attack:
SPDY support earlier than version 4 is advertised.

From the report above it is important to note that Nessus is only checking if TLS advertises the SPDY protocol earlier than version 4, it does not perform an attack nor does it check if compression is enabled. With just this approach, it cannot tell that SPDY's compression is disabled and not subject to the CRIME vulnerability.

References