External risk intelligence

SonicOS HTTP Request Stack Buffer Overflow

CVE advisorySeverity: CRITICAL (CVSS 9.8)

CVE-2022-22274

This vulnerability affects SonicOS, the operating system for SonicWall firewalls. These devices are typically deployed as internet edge gateways, and the vulnerability is reachable via HTTP requests, which are commonly exposed to the internet for management or external service access in normal, designed use.

Halo Surface Signal: 5 out of 5 — more likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This critical vulnerability in SonicOS allows unauthenticated remote attackers to potentially disrupt network services or execute code through crafted HTTP requests. The primary concern is confirming whether our SonicWall firewalls are exposed and running affected software versions.

  • Attack allows unauthorized system disruption.
  • Crucial to verify device exposure and versions.
  • Confirm relevance; then assess necessary actions.

Attack Path

How an attacker could exploit the issue

An attacker could send specially crafted HTTP requests to a SonicWall firewall, which would trigger a buffer overflow vulnerability in the SonicOS operating system. This could lead to a denial-of-service condition or, in some cases, allow the attacker to execute arbitrary code on the firewall, potentially compromising network security.

  • Requires unauthenticated access to the firewall via HTTP.
  • Triggered by a malformed HTTP request.
  • Risk of denial of service or code execution.

Live Threat

Current exploitation, exposure, and threat context

A stack-based buffer overflow in SonicOS, when reachable via HTTP requests, could allow an unauthenticated attacker to cause a denial of service or potentially execute code on the firewall. This means an attacker could disrupt network availability or gain control over the firewall's operations.

  • Firewall operating system.
  • Network requests.
  • Service disruption or control.

Operational Fix

Recommended remediation, mitigation, and detection steps

The SonicWall security team is responsible for addressing this critical vulnerability. The first practical step is to identify all deployed SonicWall firewalls, determine their network exposure and business criticality, and then confirm the specific software versions to prioritize remediation efforts.

  • SonicWall security team owns the issue.
  • Verify network exposure and software versions.
  • Plan and execute necessary remediation steps.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is SonicOS and why is it part of this CVE?

SonicOS is the core operating system that runs on SonicWall firewalls, including various TZ, NSA, and NSsp series models. It manages network traffic, enforces security policies, and provides routing capabilities. CVE-2022-22274 involves this system because the vulnerability exists within the software's HTTP request handling logic, which is fundamental to how the firewall manages incoming traffic and administrative communication.

What does stack-based buffer overflow mean in CVE-2022-22274?

This is a memory corruption weakness categorized as CWE-121 and CWE-787. It happens when the software receives more data than it expects to handle in a specific memory area called the stack. Because the software fails to properly check the size of the incoming data, it overwrites adjacent memory, which can crash the firewall or allow an attacker to hijack the system's execution flow.

How is this buffer overflow triggered?

The vulnerability is triggered when a remote, unauthenticated attacker sends a specially crafted, malformed HTTP request to the firewall. Simply having a valid HTTP connection to the device does not trigger the bug; the request must specifically contain data designed to overflow the stack buffer. If the request does not meet these exact criteria, the memory remains safe.

Is my device at risk for CVE-2022-22274?

Halo Surface Signal indicates this risk is very likely for devices reachable via the internet. Because SonicOS firewalls often act as internet edge gateways and accept HTTP traffic for management or service access, they are prime targets for external requests. You should assume relevance if your firewall's management or service interface is accessible from the public internet.

What should I do first to manage this threat?

Start by auditing your infrastructure to locate all deployed SonicWall firewalls. Check their current configuration to see if they are exposed to the internet and determine which specific versions of SonicOS they are running. Once you have an inventory of affected devices, prioritize those that are internet-facing for follow-up actions and updates.

References