Live threats

All CVEs / Barracuda Networks

CVE-2023-2868Barracuda Networks Email Security Gateway (ESG) Appliance

Remote Command Injection in Barracuda Email Security Gateway

Critical 9.8 KEV No auth neededHigh EPSS

Priority
78
CVSS 3.1
9.8
EPSS
45.9%
probability of exploitation in 30 days · percentile 99
Auth required
No
In KEV since
May 26, 2023
CISA deadline
Jun 16, 2023
Ransomware use
Unknown
Published
May 24, 2023
Updated
Jun 17, 2026
Category
Firmware · Network appliance
Weakness (CWE)
CWE-20, CWE-77
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A remote command injection vulnerability affects Barracuda Email Security Gateway (appliance form factor) in versions 5.1.3.001 through 9.2.0.006. A remote attacker can craft malicious .tar file names to execute arbitrary system commands without authentication. CISA confirmed this vulnerability is actively exploited.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

Barracuda Email Security Gateway (ESG) appliance contains an improper input validation vulnerability of a user-supplied .tar file, leading to remote command injection.

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available

Apply patch BNSF-36456 or update to version 9.2.0.007 or later. The patch was automatically applied to customer appliances.

Vendor advisory · www.barracuda.com ↗

  1. Apply the vendor's security update for Email Security Gateway (ESG) Appliance.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was June 16, 2023.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
barracudaemail_security_gateway_300_firmware≥ 5.1.3.001 ≤ 9.2.0.006
barracudaemail_security_gateway_400_firmware≥ 5.1.3.001 ≤ 9.2.0.006
barracudaemail_security_gateway_600_firmware≥ 5.1.3.001 ≤ 9.2.0.006
barracudaemail_security_gateway_800_firmware≥ 5.1.3.001 ≤ 9.2.0.006
barracudaemail_security_gateway_900_firmware≥ 5.1.3.001 ≤ 9.2.0.006

Official sources

References

Links published by the sources. Open them with care.