OWASP / Top10

Official OWASP Top 10 Document Repository
Other
4.21k stars 822 forks source link

Misleading description in A02:2021, should be moved to A07:2021 #724

Open kwwall opened 2 years ago

kwwall commented 2 years ago

In A02:2021 - Cryptographic Failures, under the Description section, it states:

I believe that this statement is in the wrong OT10 item should be (re)moved.

If you look at the corresponding CWE, this is primarily a case of CWE-296: Improper Following of a Certificate's Chain of Trust. It has little, if anything, to do with a cryptographic failure, but rather it is an authentication failure as CWE-296 makes obvious if you follow the CWE chain to its parent CWE-295.

I believe (and I think MITRE would agree) that this bullet item that I referenced is an authentication failure. specifically, it is a failure of properly authenticating the host you are intending to connect to over a TLS connection. Indeed, I believe a better fit for this statement would be to move it A07:2021.