CVE-2023-2868
CONFIRMED EXPLOITEDBarracuda Networks ESG Appliance Improper Input Validation Vulnerability
Is Barracuda Networks Email Security Gateway (ESG) Appliance affected by CVE-2023-2868?
Barracuda Networks Email Security Gateway (ESG) Appliance is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2023-2868, added on 2023-05-26. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (5 vulnerable CPE entries): barracuda email_security_gateway_300_firmware, barracuda email_security_gateway_400_firmware, barracuda email_security_gateway_600_firmware, barracuda email_security_gateway_800_firmware and barracuda email_security_gateway_900_firmware.
Published CPE version bounds mark releases up to and including 9.2.0.006 as vulnerable. Confirm the patched release in the vendor advisory below before treating any upgrade as complete.
The CISA remediation deadline for this entry is 2023-06-16.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-116606Same vendorBarracuda Networks Barracuda Email Security Gateway (ESG)
Barracuda Networks Email Security Gateway (ESG) Authentication Bypass Using an Alternate Path or Channel Vulnerability
- CVE-2026-111560Same vendorBarracuda Networks Multiple Products
Barracuda Networks Multiple Products OS Command Injection Vulnerability
- CVE-2023-25915Shared weaknessDanfoss AK-SM 800A Series
Danfoss AK-SM 800A Series Improper Input Validation Vulnerability
- CVE-2026-116779Shared weaknessSignalWire FreeSwitch
SignalWire FreeSwitch Code Injection Vulnerability
- CVE-2023-32409Neighboring entryApple Multiple Products
Apple Multiple Products WebKit Sandbox Escape Vulnerability
- CVE-2023-28771Neighboring entryZyxel Multiple Firewalls
Zyxel Multiple Firewalls OS Command Injection Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Barracuda Email Security Gateway (ESG) appliance contains an improper input validation vulnerability of a user-supplied .tar file, leading to remote command injection.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2023-05-26. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Email Security Gateway (ESG) Appliance has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Network service surface (Barracuda Networks Email Security Gateway (ESG) Appliance): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Inventory all hosts running Barracuda Networks Email Security Gateway (ESG) Appliance and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- https://status.barracuda.com/incidents/34kx82j5n4q9Vendor Advisory
- https://www.barracuda.com/company/legal/esg-vulnerabilityMitigationVendor Advisory
- https://status.barracuda.com/incidents/34kx82j5n4q9Vendor Advisory
- https://www.barracuda.com/company/legal/esg-vulnerabilityMitigationVendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting