Technical Tip: OpenSSH regreSSHion Attack (CVE-2024-6387) affecting FortiWeb sshd process
| Description | This article describes how to solve CVE-2024-6387 on affected versions and steps to disable SSH administrative access via the interface as a workaround. |
| Scope | FortiWeb, FortiWeb-VM. |
| Solution | PSIRT advisories (FG-IR-24-258) mentioned FortiWeb 7.2.0 through 7.2.9, 7.4.0 through 7.4.4 and 7.6.0 are vulnerable to CVE-2024-6387. It is a high-severity flaw in OpenSSH’s sshd component. It results from a race condition in signal handling, which could allow an unauthenticated remote attacker to execute arbitrary code with root privileges.
Technical Tip: How to manually download and upgrade FortiWeb firmware image on FortiWeb
Workaround:
In GUI:
config system interface Run the CLI command stated below to disable SSH administrative access. config system interface It will exclude ‘SSH’ in allow-access settings.
Note: Repeat the same steps in SSH-enabled interfaces. |
