CVE Tools

CVE-2023-2868

Remote Code injection in Barracuda Email Security Gateway

Exploited in the wild. In CISA KEV since 2023‑05‑26. Fixed in 9.2.0.006.

Check it yourself

OpenVAS · 1 check

e.g. OID 1.3.6.1.4.1.25623.1.0.149743

Run the check

Published Updated Sources: CVE.org, NVD, BDU

What to do

Find your product and version, then upgrade to the build on the right.

  • Barracuda Email Security GatewayAffected: ≥ 5.1.3.001, < 9.2.0.006Upgrade to: 9.2.0.006Stated by: CVE record
  • Barracuda Email Security Gateway 300 FirmwareAffected: ≥ 5.1.3.001, ≤ 9.2.0.006Upgrade to: after 9.2.0.006Stated by: NVD
  • Barracuda Email Security Gateway 400 FirmwareAffected: ≥ 5.1.3.001, ≤ 9.2.0.006Upgrade to: after 9.2.0.006Stated by: NVD
  • Barracuda Email Security Gateway 600 FirmwareAffected: ≥ 5.1.3.001, ≤ 9.2.0.006Upgrade to: after 9.2.0.006Stated by: NVD
  • Barracuda Email Security Gateway 800 FirmwareAffected: ≥ 5.1.3.001, ≤ 9.2.0.006Upgrade to: after 9.2.0.006Stated by: NVD

Versions as the sources state them. 6 more products have version data. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Check whether you run a Barracuda Email Security Gateway appliance (model 300/400/600/800/900) and note its current firmware version.
  2. Confirm the version is between 5.1.3.001 and 9.2.0.006, which is the vulnerable range.
  3. Verify the BNSF-36456 patch has been applied, or upgrade to fixed version 9.2.0.006 or later.
  4. Check Barracuda's security advisory and status page for guidance specific to your appliance, since some compromised units required full hardware replacement.
  5. If you cannot confirm the patch is applied, contact Barracuda support immediately rather than waiting.

Coverage timeline

1 publisher
  1. Technical analysis published

    ·The Hacker News summary
  2. Added to CISA KEV catalog

    ·CISA KEV

Sourced from public security reporting — each date is when it was published, not when it happened. 5 further articles named this CVE in wider roundups without reporting it as a distinct event.

What it is

From the CVE record

A remote command injection vulnerability exists in the Barracuda Email Security Gateway (appliance form factor only) product effecting versions 5.1.3.001-9.2.0.006. The vulnerability arises out of a failure to comprehensively sanitize the processing of .tar file (tape archives). The vulnerability stems from incomplete input validation of a user-supplied .tar file as it pertains to the names of the files contained within the archive. As a consequence, a remote attacker can specifically format these file names in a particular manner that will result in remotely executing a system command through Perl's qx operator with the privileges of the Email Security Gateway product. This issue was fixed as part of BNSF-36456 patch. This patch was automatically applied to all customer appliances.

In plain language

Written by AI from the record

This is a serious flaw in Barracuda's Email Security Gateway appliance that attackers have already used to break in and run commands on the mail server, so if you run one of these appliances you need to act now.

Unauthenticated remote command injection in Barracuda Email Security Gateway (appliance form factor, versions 5.1.3.001–9.2.0.006) via insufficiently sanitized .tar filenames processed through Perl's qx operator, allowing arbitrary OS command execution with the product's service privileges.

If you're affected

  • Full mail server takeover
  • Email and attachment data exposure
  • Lateral movement into internal network
  • Operational email outage
  • Regulatory/compliance exposure from breach

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS99th
CISA KEV
CISA KEV

Listed as exploited in the wild since 2023-05-26.

US federal agencies must remediate by 2023-06-16.

Apply updates per vendor instructions.
Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

87% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

12 events over 1128 days, from the signal feeds we watch.

  1. OpenVAS check added
  2. EPSS band changecritical → high
  3. EPSS band changehigh → critical
  4. EPSS band changecritical → high
  5. EPSS band changehigh → critical
  6. Patch availableworkaround available, record updated

Affected products

Technical detail

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Scored 9.4 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability LowReduced performance or intermittent disruption of service

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Barracuda, not every advisory. This one: actively exploited.