An issue was discovered in openfortivpn 1.11.0 when used with OpenSSL before 1.0.2. tunnel.c mishandles certificate validation because hostname comparisons do not consider '\0' characters, as demonstrated by a good.example.com\x00evil.example.com attack.
{ "vanir_signatures": [ { "id": "CVE-2020-7043-2f760f54", "digest": { "length": 2429.0, "function_hash": "125432945444897325704174321387259565829" }, "signature_version": "v1", "target": { "file": "src/tunnel.c", "function": "ssl_verify_cert" }, "deprecated": false, "signature_type": "Function", "source": "https://github.com/adrienverge/openfortivpn/commit/6328a070ddaab16faaf008cb9a8a62439c30f2a8" }, { "id": "CVE-2020-7043-63a1b135", "digest": { "line_hashes": [ "326536668639958100052841729794042126996", "123601388663251602674058961315617262532", "298499906374837506832731988873827737561", "333538535266810693348442609398214357092", "222499057199839917237616048434638310995", "158021963753876568126672681529555774435", "3117077068216323258710621602857852384", "210886845709506199277846659849797683834", "247627447578623611675946358640487877531", "229416393064689430651692213890800657889", "78461889246657476217910916720647705158", "8031173947055631212742603957353263086", "19935018114004311826440147295255170225" ], "threshold": 0.9 }, "signature_version": "v1", "target": { "file": "src/tunnel.c" }, "deprecated": false, "signature_type": "Line", "source": "https://github.com/adrienverge/openfortivpn/commit/6328a070ddaab16faaf008cb9a8a62439c30f2a8" } ] }