ShtëpiBallkani kibernetikFortigate SSLVPN Vulnerability discovered in the wild

Fortigate SSLVPN Vulnerability discovered in the wild

Publikuar më

spot_img

A critical vulnerability in Fortinet’s FortiGate SSLVPN appliances, CVE-2024-23113, has been actively exploited in the wild. This format string flaw vulnerability has raised significant concerns due to its potential for remote code execution. The flaw allows attackers to control format strings, leading to unauthorized access and manipulation of network border appliances without requiring credentials or asset lists.

Gwendal Guégniaud of the Fortinet Product Security team discovered the vulnerability before patching it, affecting all currently maintained FortiGate branches. The Cybersecurity and Infrastructure Security Agency (CISA) has highlighted the active exploitation of this vulnerability, emphasizing the urgent need for organizations to update their systems.

According to the Labs report, the format string vulnerability arises when a developer allows an attacker to control a ‘format string.’ In a typical scenario, a function like printf is misused:

void doStuff(char* stuffToDo)
{
    printf(stuffToDo);
}

In this case, if an attacker passes a string containing format specifiers like %s, it can lead to remote code execution. The FortiGate vulnerability exploits this flaw within the FGFM (FortiGate to FortiManager) protocol, centralizing FortiGate devices. Researchers found they could exploit this vulnerability by manipulating FGFM messages over an SSL connection on TCP port 541. The protocol uses ASCII-based newline-delimited formats with key/value pairs, making it susceptible to this attack.

The vulnerability affects multiple versions of FortiGate firmware, including branches 7.0, 7.2, and 7.4. Each branch exhibits different behaviors when exploited:

  • Version 7.0: Accepts self-signed certificates in unpatched versions but requires certificates signed by a configured CA after patching.
  • Version 7.2: Similar behavior as version 7.0 regarding certificate acceptance.
  • Version 7.4: Requires certificates signed by a configured CA even in unpatched versions, complicating exploitation.

Fortinet advises administrators to prevent access to the FGFM service as a mitigation step and strongly recommends updating to the latest firmware versions. This update addresses the format string vulnerability by ensuring that format strings are not attacker-controlled.

To detect vulnerable systems, researchers developed a Python script that tests for the presence of this vulnerability by sending specific payloads over the FGFM protocol. The script checks whether a device aborts the connection upon receiving a %n payload, indicating vulnerability.

The discovery of CVE-2024-23113 highlights the ongoing challenges in securing network appliances against sophisticated attacks. Organizations using FortiGate devices should prioritize patching their systems to mitigate this critical vulnerability. While updating is always recommended, understanding the risks associated with each firmware version can help administrators make informed decisions about their security posture.

Fortinet’s advice remains clear: update all affected systems promptly to ensure protection against potential exploitation. Organizations need to take proactive steps to secure their systems and protect themselves from such vulnerabilities in the future.

Lidhja e burimit

Artikujt e fundit

Netskope Acquires Dasera for Enhanced Cloud Data Security

Netskope, a Silicon Valley-based SASE vendor, recently made headlines with its acquisition of Dasera,...

Reasons to have a Personal VPN

As online threats continue to rise and privacy concerns become more prominent, the use...

CISA Issues ICS Advisories for Preventing Cyber Attacks

The Cybersecurity and Infrastructure Security Agency (CISA) recently issued two critical Industrial Control Systems...

Cybersecurity chief warns of widening gap between cyber threats and defences

The National Cyber Security Centre (NCSC) has reported a significant increase in cyber incidents...

Më shumë si kjo

Netskope Acquires Dasera for Enhanced Cloud Data Security

Netskope, a Silicon Valley-based SASE vendor, recently made headlines with its acquisition of Dasera,...

Reasons to have a Personal VPN

As online threats continue to rise and privacy concerns become more prominent, the use...

CISA Issues ICS Advisories for Preventing Cyber Attacks

The Cybersecurity and Infrastructure Security Agency (CISA) recently issued two critical Industrial Control Systems...
sqAlbanian