CVE-2022-42475: Fortinet Patches Zero Day in FortiOS SSL VPNs

CVE-2022-42475: Fortinet Patches Zero Day in FortiOS SSL VPNs

Fortinet has patched a zero day buffer overflow in FortiOS that could lead to remote code execution. There has been a report of active exploitation and organizations should patch urgently.

Background

On December 9 Olympe Cyberdefense published a brief summary of a vulnerability affecting several versions of Fortinet FortiOS used in its FortiGate secure socket layer virtual private network (SSL VPN) and firewall products.

Fortinet followed up on December 12 with an advisory which elaborated that the vulnerability has been observed under exploitation. Fortinet’s language implies this exploitation was limited in scope, specifying “an instance.” It is unclear whether Fortinet observed this exploitation directly or if it was reported to them by the researchers.

Analysis

CVE-2022-42475 is a heap-based buffer overflow in several versions of ForiOS that received a CVSSv3 score of 9.3. A remote, unauthenticated attacker could exploit this vulnerability with a specially crafted request and gain code execution. The blog from Olympe Cyberdefense goes further, stating attackers could gain “full control.”

Threat actors have been leveragingvulnerabilities in Fortinet SSL VPNs in attacks for several years to the extent that the Federal Bureau of Investigation and Cybersecurity and Infrastructure Security Agency issued a dedicated advisory to these flaws and their exploitation in 2021. Given that this vulnerability has already been exploited, organizations should patch CVE-2022-42475 immediately.

Solution

According to Fortinet’s advisory, the following are the affected versions of FortiOS and the relevant fixed versions:

Affected Version
Fixed Version
FortiOS version 7.2.0 through 7.2.2
FortiOS version 7.23 or above
FortiOS version 7.0.0 through 7.0.8
FortiOS version 7.0.9 or above
FortiOS version 6.4.0 through 6.4.10
FortiOS version 6.4.11 or above
FortiOS version 6.2.0 through 6.2.11
FortiOS version 6.2.12 or above
FortiOS-6K7K version 7.0.0 through 7.0.7
FortiOS-6K7K version 7.0.8 or above
FortiOS-6K7K version 6.4.0 through 6.4.9
FortiOS-6K7K version 6.4.10 or above
FortiOS-6K7K version 6.2.0 through 6.2.11
FortiOS-6K7K version 6.2.12 or above
FortiOS-6K7K version 6.0.0 through 6.0.14
FortiOS-6K7K version 6.0.15 or above

Fortinet’s advisory also includes indicators of compromise (IoC) for the observed exploitation of this flaw. The advisory from Fortinet recommends reviewing systems for these IoCs as does the blog from Olympe Cyberdefense.

Identifying affected systems

A list of Tenable plugins to identify this vulnerability can be found here. This link uses a search filter to ensure that all matching plugin coverage will appear as it is released. In addition, plugin ID 73522 can be used to identify Fortinet devices in your network. A Tenable audit with best practices for Fortigate FortiOS is also available here which can help with security hardening.

Get more information

Report from Olympe Cyberdefense
Fortinet Advisory

Join Tenable’s Security Response Team on the Tenable Community.

Learn more about Tenable, the first Cyber Exposure platform for holistic management of your modern attack surface.

Get a free 30-day trial of Tenable.io Vulnerability Management.

   Cyber Exposure Alerts 

​  

More To Explore

We can help improve your Business

Ensure your Organization Assets are well  protected in front of the Cyber Attacks

Delivery Workflow

Register for Free and get your test done withn 24 to 48 hours

See Workflow

Sample Report

Here is a sample report of a Security Testing Engagement

See Sample Report PDF

Work Request

Order your security test and Get Your Report

Get Your Test Report
Generated by Feedzy

1. Client Onboarding

Access to all of Cyber Legion's services is provided through the Web Secure Client Portal. To create a Free account, you can sign up through the portal, or contact the Cyber Legion team and they will set up an account for you.

2. NDA , Agreements & Digital Signature

The integration of Digital Signature in our Web Client Portal allows us to legally sign all necessary documents and agreements, enabling us to carry out security assessments on targeted systems.

3. Submit Work Request

Our pricing structure is adaptable to meet the needs of all clients. By filling out the Work Request Form, you can select from pre-existing services or request a personalized proposal.

The Cyber Legion team will acknowledge your order, set up a project in your account, and proceed with the testing and delivery.

4. Security Testing & Report

We meet agreed upon SLAs and follow security testing framework checklists. Based on our commitment, our team of engineers will utilize all of our tools, automation, and testing capabilities to achieve the objectives.

Within the agreed upon timeframe, you will receive a report on the security test that was conducted, including the results, recommendations, and references for addressing any identified issues.

5. Retesting & Validation of Remediation

We not only identify potential threats, risks, and vulnerabilities, but also provide detailed recommendations for resolution. To ensure complete remediation, we offer complimentary retesting and a range of ongoing security testing options for continued vulnerability detection and verification.