-1
$\begingroup$

If someone tells me their service uses TLS 1.2 or higher, how much 'guaranteed' security does this provide?

Is it possible to correctly claim to be using TLS 1.2 or 1.3 and still be insecure? For example, using a correctly implimented TLS handshake but with a weak cipher?

If it is possible to 'correctly' impliment TLS insecurly, using the above example, what would be examples of ciphers that are acceptable in the TLS standards but are actually insecure?

$\endgroup$
8
  • 1
    $\begingroup$ You might want to ask this on Information Security. $\endgroup$
    – forest
    Commented Apr 29, 2021 at 10:15
  • 2
    $\begingroup$ TLS 1.2 supports the cipher suite TLS_NULL_WITH_NULL_NULL which provides no confidentiality, integrity nor authentication. Arguably it is meeting its security claims though. $\endgroup$
    – Daniel S
    Commented Apr 29, 2021 at 12:21
  • $\begingroup$ ERR- CROSS POSTED !!! $\endgroup$
    – kelalaka
    Commented Apr 29, 2021 at 14:59
  • $\begingroup$ @kelalaka posted to information security after forest comment. Both have different but informative answers... $\endgroup$ Commented Apr 29, 2021 at 16:00
  • $\begingroup$ It doesn't matter! One should never do that. Forest's comment was dense, and it includes deleting your question. $\endgroup$
    – kelalaka
    Commented Apr 29, 2021 at 16:06

1 Answer 1

3
$\begingroup$

Is it possible to correctly claim to be using TLS 1.2 or 1.3 and still be insecure?

Absolutely. Even discounting deliberate attempts to be insecure, an implementation could have an implementation error that would:

  • Select their premaster secret (for TLS 1.2 RSA-based ciphersuites) with poor entropy

  • Select their (EC)DH private values with poor entropy

  • Select their CBC or GCM IVs poorly

  • Not properly validating the certificate

what would be examples of ciphers that are acceptable in the TLS standards but are actually insecure?

TLS 1.2 has a number of 'not-very-secure' ciphersuites (as it inherited all of the TLS 1.0 ciphersuites). In TLS 1.3, they reduced the number of supported ciphersuites to 5, none of which are horrid (I'm not thrilled with the CCM_8 based one, but even that isn't that bad).

On the other hand, even in TLS 1.2, both sides would have to agree to use a 'not-very-secure' ciphersuite; for the possible implementation flaws I listed above, the other side would have no good way of checking on them.

$\endgroup$
2
  • $\begingroup$ CCM_8 still provides a forgery probability of $2^{-64}$, which is not bad for a MAC. $\endgroup$
    – forest
    Commented Apr 30, 2021 at 0:17
  • $\begingroup$ @forest: as I said, "that isn't that bad" $\endgroup$
    – poncho
    Commented Apr 30, 2021 at 3:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.