Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tls-probe

Rules: 14

tls-probe/cipher-order

The server lets the client choose a weak suite over a strong one

tls-probe/cipher-order/missing · info · score 2.8 · site

A client or an attacker steering the handshake can push the connection to the weakest suite the server accepts. Checked only where weak suites are accepted, and skipped behind Cloudflare.

Reported as

the server lets the client pick a weak suite over a strong one

Fix

Set the server to prefer its own strong suites over the client’s list.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.server-order
  • site.origins.*.stack.edge.name

Expects

{
  "const": true
}

When

{
  "site.origins.*.tls-probe.weak-ciphers": {
    "minItems": 1
  },
  "site.origins.*.stack.edge.name": {
    "not": {
      "const": "cloudflare"
    }
  }
}

tls-probe/cipher

The server accepts cipher suites that are broken outright

tls-probe/cipher/insecure · error · score 9.4 · site

NULL, RC4, 3DES and similar suites give little or no protection, so an attacker on the path can read or alter the traffic. Skipped behind Cloudflare.

Reported as

the server accepts suites broken outright: the value found

Fix

Remove NULL, RC4, 3DES and other broken cipher suites from the server config.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.insecure-ciphers
  • site.origins.*.stack.edge.name

Expects

{
  "maxItems": 0
}

When

{
  "site.origins.*.tls-probe.insecure-ciphers": {
    "type": "array"
  },
  "site.origins.*.stack.edge.name": {
    "not": {
      "const": "cloudflare"
    }
  }
}

The server accepts weak cipher suites

tls-probe/cipher/weak · warning · score 6.2 · site

Suites without forward secrecy, with CBC or with a 64-bit block let recorded traffic be decrypted later or attacked in transit. Skipped behind Cloudflare.

Reported as

the server accepts suites without forward secrecy, with CBC or with a 64-bit block: the value found

Fix

Keep only AEAD suites that offer forward secrecy (ECDHE).

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.weak-ciphers
  • site.origins.*.stack.edge.name

Expects

{
  "maxItems": 0
}

When

{
  "site.origins.*.tls-probe.weak-ciphers": {
    "type": "array"
  },
  "site.origins.*.stack.edge.name": {
    "not": {
      "const": "cloudflare"
    }
  }
}

tls-probe/compression

The server compresses TLS records

tls-probe/compression/insecure · warning · score 6.0 · site

TLS compression enables the CRIME attack, through which an attacker can read secrets such as session cookies.

Reported as

the server compresses TLS records, through which CRIME reads secrets

Fix

Disable TLS compression.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.compression

Expects

{
  "const": false
}

When

{
  "site.origins.*.tls-probe.compression": {
    "type": "boolean"
  }
}

tls-probe/dh

The server’s Diffie-Hellman prime is shorter than 2048 bits

tls-probe/dh/weak · warning · score 3.4–6.4 · site

A short DHE prime lets a well-resourced attacker break the key exchange and read the traffic.

Reported as

the server’s DHE prime has the value found bits, short of 2048

Fix

Use a DH group of at least 2048 bits, or drop the DHE suites for ECDHE.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.dh-bits

Expects

{
  "minimum": 2048
}

When

{
  "site.origins.*.tls-probe.dh-bits": {
    "type": "number"
  }
}

tls-probe/early-data

The server accepts TLS 1.3 early data

tls-probe/early-data/insecure · info · score 2.6 · site

An attacker can replay early data, so a request such as a payment may run twice unless the server answers 425 to non-idempotent requests.

Reported as

the server accepts TLS 1.3 early data, which an attacker can replay; non-idempotent requests must answer 425

Fix

Disable early data, or answer 425 Too Early to non-idempotent requests.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.early-data

Expects

{
  "const": false
}

When

{
  "site.origins.*.tls-probe.early-data": {
    "type": "boolean"
  }
}

tls-probe/fallback-scsv

The server accepts a needless fallback to an older TLS version

tls-probe/fallback-scsv/missing · info · score 2.4 · site

Without TLS_FALLBACK_SCSV, an attacker can force clients down to an older protocol version that has known weaknesses.

Reported as

the server accepts a needless fallback to an older version instead of refusing it

Fix

Enable TLS_FALLBACK_SCSV in the TLS library.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.fallback-scsv

Expects

{
  "const": true
}

When

{
  "site.origins.*.tls-probe.fallback-scsv": {
    "type": "boolean"
  }
}

tls-probe/forward-secrecy

Not every accepted cipher suite offers forward secrecy

tls-probe/forward-secrecy/missing · warning · score 5.8 · site

If the server’s key leaks later, traffic recorded with a suite lacking forward secrecy can be decrypted. Skipped behind Cloudflare.

Reported as

forward secrecy covers the value found of the accepted suites, where “all” are expected

Fix

Configure only ECDHE suites so every handshake offers forward secrecy.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.forward-secrecy
  • site.origins.*.stack.edge.name

Expects

{
  "const": "all"
}

When

{
  "site.origins.*.tls-probe.forward-secrecy": {
    "type": "string"
  },
  "site.origins.*.stack.edge.name": {
    "not": {
      "const": "cloudflare"
    }
  }
}

tls-probe/intermediate

The server does not send the intermediate certificates

tls-probe/intermediate/missing · error · score 8.0 · site

Clients that have not cached the intermediates cannot build the chain and fail with a certificate error, so some visitors cannot open the site.

Reported as

the server does not send the intermediate certificates its chain needs, so clients that have not cached them fail

Fix

Configure the server to serve the full certificate chain, including intermediates.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.chain.complete

Expects

{
  "const": true
}

When

{
  "site.origins.*.tls-probe.chain": {
    "type": "object"
  }
}

tls-probe/ocsp-stapling

The server does not staple an OCSP response

tls-probe/ocsp-stapling/missing · info · score 1.8 · site

Each visitor’s browser then asks the CA whether the certificate is revoked, which slows the connection and tells the CA which sites they visit. Checked only when the certificate names an OCSP responder.

Reported as

the certificate names an OCSP responder but the server staples no response, so each client asks the CA

Fix

Enable OCSP stapling so the server attaches the CA’s response to handshakes.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.ocsp.stapled

Expects

{
  "const": true
}

When

{
  "site.origins.*.tls-probe.ocsp.responder": true
}

tls-probe/protocol

The server still accepts SSLv3, TLS 1.0 or TLS 1.1

tls-probe/protocol/deprecated · error · score 9.2 · site

These protocols are retired and have known attacks, so a visitor’s connection can be downgraded and read by an attacker on the path.

Reported as

the server still accepts the value found, which RFC 6176, RFC 7568 and RFC 8996 retire

Fix

Disable SSLv3, TLS 1.0 and TLS 1.1; keep only TLS 1.2 and 1.3.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.legacy
  • site.origins.*.stack

Expects

{
  "maxItems": 0
}

tls-probe/secure-renegotiation

The server does not support secure renegotiation

tls-probe/secure-renegotiation/missing · warning · score 5.2 · site

Without it, an attacker can splice their own data into a client’s session during a renegotiation.

Reported as

the server does not answer renegotiation_info, so a renegotiation can be spliced into a session

Fix

Enable secure renegotiation in the TLS library.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.secure-renegotiation

Expects

{
  "const": true
}

When

{
  "site.origins.*.tls-probe.secure-renegotiation": {
    "type": "boolean"
  }
}

tls-probe/tls13

The server does not offer TLS 1.3

tls-probe/tls13/missing · info · score 2.2 · site

Visitors get slower handshakes and miss the stronger protections of TLS 1.3, and modern security baselines expect it.

Reported as

the server offers the value found and no TLS 1.3

Fix

Enable TLS 1.3 in the server configuration.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.protocols

Expects

{
  "contains": {
    "const": "TLSv1.3"
  }
}

tls-probe/vulnerability

The server’s TLS setup is open to a known attack

tls-probe/vulnerability/insecure · error · score 9.6 · site

A negotiated protocol, suite or extension exposes the connection to a named attack, so an attacker can recover secrets such as session cookies. Skipped behind Cloudflare.

Reported as

what the server negotiates leaves it open to the value found

Fix

Update the TLS library, and disable the protocol, suite or extension each named attack needs.

Off by default; a group that runs tls-probe turns it on.

References

For rule authors

Reads

  • site.origins.*.tls-probe.vulnerabilities
  • site.origins.*.stack.edge.name

Expects

{
  "maxItems": 0
}

When

{
  "site.origins.*.tls-probe.vulnerabilities": {
    "type": "array"
  },
  "site.origins.*.stack.edge.name": {
    "not": {
      "const": "cloudflare"
    }
  }
}