Skip to main content
LowTLSOWASP A02:2021CWE-327

How to fix: Negotiated cipher suite uses CBC mode

The handshake settled on a CBC-mode cipher suite below TLS 1.3, rather than an AEAD suite such as AES-GCM or ChaCha20-Poly1305.

Why it matters

CBC suites in TLS use MAC-then-encrypt, the construction behind a long run of padding-oracle attacks: BEAST, Lucky 13, and the POODLE and Zombie POODLE families. Each has a mitigation, but the mitigations live in the TLS library and are easy to lose across an upgrade or in an unusual stack, whereas AEAD removes the whole class.

Rated Low because a current TLS library with the standard countermeasures is not practically exploitable here. It is a signal about the configuration rather than a live break: a server that still prefers CBC over AES-GCM is running a cipher ordering from several years ago, and the rest of that TLS configuration is usually the same vintage.

How to fix it

  1. 1Prefer AEAD suites and remove CBC suites from the cipher list.
  2. 2Enable TLS 1.3, which defines only AEAD suites.
  3. 3Turn on server cipher preference so the ordering you set is the one that applies.

Code examples

Apache: AEAD suites only

APACHE
SSLProtocol -all +TLSv1.2 +TLSv1.3
SSLHonorCipherOrder on
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305

Check the negotiated suite

bash
openssl s_client -connect example.com:443 </dev/null 2>&1 | grep -i "cipher"

References

Detected automatically by VulnRadar. The check id is tls-cipher-cbc-mode, stable across every scan so you can filter or diff on it.

See every tls check

Questions

How severe is Negotiated cipher suite uses CBC mode?
VulnRadar rates this low severity in the tls category. The severity is fixed per check, not scored per site, so the same finding is the same severity on every scan.
Does VulnRadar check for this automatically?
Yes. It runs as part of every scan under the check id tls-cipher-cbc-mode, which stays the same between runs so you can filter, diff, or gate CI on it.
Which standards does Negotiated cipher suite uses CBC mode map to?
It maps to CWE-327. In the OWASP Top 10 it falls under A02:2021.

Missing a check?

The detection set is open. If you know a misconfiguration this does not catch, propose it: the issue template asks for the threat model, how to detect it, the false-positive risk, and a test fixture, which is the same thing a maintainer would have to work out anyway.

Propose a checkHow a check is built

Scan your own site for negotiated cipher suite uses cbc mode

VulnRadar runs this check and hundreds more against a URL in seconds. No agent to install, just paste a URL.

Or scan this site as a demoRead the docs

Negotiated cipher suite uses CBC mode fix | VulnRadar