CVE-2020-7042
FortiClient VPN vulnerability analysis and mitigation

Overview

An issue was discovered in openfortivpn 1.11.0 when used with OpenSSL 1.0.2 or later. The vulnerability (CVE-2020-7042) involves the mishandling of certificate validation in tunnel.c due to the use of uninitialized memory during hostname verification. The issue was discovered in January 2020 and was fixed in version 1.12.0 released in February 2020 (GitHub Commit, NVD).

Technical details

The vulnerability stems from passing an uninitialized buffer (common_name) as an argument to X509_check_host function, which prevented proper hostname validation when OpenSSL >= 1.0.2 was in use. This issue was introduced in openfortivpn 1.7.1 and remained undetected because the return value was not properly checked. The outcome is that a valid certificate is never accepted, while only malformed certificates might be accepted (GitHub Security Lab).

Impact

The vulnerability results in the application never accepting valid certificates, while potentially accepting malformed ones. This behavior could lead to security implications in certificate validation processes, potentially compromising the security of VPN connections (GitHub Security Lab).

Mitigation and workarounds

The vulnerability was fixed in openfortivpn version 1.12.0. The fix involves properly using the gateway_host variable for certificate validation instead of the uninitialized common_name buffer. Users are advised to upgrade to version 1.12.0 or later (GitHub Commit, OpenSUSE Security).

Additional resources


SourceThis report was generated using AI

Related FortiClient VPN vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2020-7043CRITICAL9.1
  • FortiClient VPNFortiClient VPN
  • openfortivpn-debugsource
NoYesFeb 27, 2020
CVE-2024-3661HIGH7.6
  • RustRust
  • NetworkManager
NoYesMay 06, 2024
CVE-2020-7042MEDIUM5.3
  • FortiClient VPNFortiClient VPN
  • openfortivpn-debugsource
NoYesFeb 27, 2020
CVE-2020-7041MEDIUM5.3
  • FortiClient VPNFortiClient VPN
  • openfortivpn
NoYesFeb 27, 2020

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management