An improper certificate validation vulnerability [CWE-295] in FortiManager 7.0.1 and below, 6.4.6 and below; FortiAnalyzer 7.0.2 and below, 6.4.7 and below; FortiOS 6.2.x and 6.0.x; FortiSandbox 4.0.x, 3.2.x and 3.1.x may allow a network adjacent and unauthenticated attacker to man-in-the-middle the communication between the listed products and some external peers.
The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Fortianalyzer | Fortinet | 6.0.0 (including) | 6.0.12 (including) |
| Fortianalyzer | Fortinet | 6.2.9 (including) | 6.4.7 (including) |
| Fortianalyzer | Fortinet | 7.0.0 (including) | 7.0.0 (including) |
| Fortianalyzer | Fortinet | 7.0.1 (including) | 7.0.1 (including) |
| Fortianalyzer | Fortinet | 7.0.2 (including) | 7.0.2 (including) |
| Fortimanager | Fortinet | 6.0.0 (including) | 6.0.12 (including) |
| Fortimanager | Fortinet | 6.2.0 (including) | 6.2.11 (including) |
| Fortimanager | Fortinet | 6.4.0 (including) | 6.4.6 (including) |
| Fortimanager | Fortinet | 7.0.0 (including) | 7.0.0 (including) |
| Fortimanager | Fortinet | 7.0.1 (including) | 7.0.1 (including) |
| Fortisandbox | Fortinet | 3.0.0 (including) | 3.0.7 (including) |
| Fortisandbox | Fortinet | 3.1.0 (including) | 3.1.5 (including) |
| Fortisandbox | Fortinet | 3.2.0 (including) | 3.2.4 (including) |
| Fortisandbox | Fortinet | 3.0.1 (including) | 3.0.1 (including) |
| Fortisandbox | Fortinet | 4.0.0 (including) | 4.0.0 (including) |
| Fortisandbox | Fortinet | 4.0.1 (including) | 4.0.1 (including) |
| Fortisandbox | Fortinet | 4.0.2 (including) | 4.0.2 (including) |
| Fortios | Fortinet | 5.6.10 (including) | 5.6.14 (including) |
| Fortios | Fortinet | 6.0.0 (including) | 6.0.17 (including) |
| Fortios | Fortinet | 6.2.0 (including) | 6.2.15 (including) |
Even if a certificate is well-formed, signed, and follows the chain of trust, it may simply be a valid certificate for a different site than the site that the product is interacting with. In order to ensure data integrity, the certificate must be valid, and it must pertain to the site that is being accessed. Even if the product attempts to check the hostname, it is still possible to incorrectly check the hostname. For example, attackers could create a certificate with a name that begins with a trusted name followed by a NUL byte, which could cause some string-based comparisons to only examine the portion that contains the trusted name.