CVE-2023-2868 Details
Description
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.
A remote command injection vulnerability has been identified in the Barracuda Email Security Gateway (ESG) appliance, affecting versions 5.1.3.001 prior to 9.2.0.006. The vulnerability arises from improper input validation of user-supplied .tar files, specifically regarding the names of the files within the archive. This flaw allows remote attackers to craft file names that, when processed, execute system commands using Perl's qx operator, with the same privileges as the Barracuda Email Security Gateway. This vulnerability was exploited to gain unauthorized access to some ESG appliances, leading to the deployment of persistent backdoors via a trojanized module named SALTWATER, according to Barracuda and Mandiant.
Barracuda has applied a security patch to all affected ESG appliances worldwide. Customers should ensure their appliance is up to date and replace any compromised devices. Barracuda is providing replacement appliances at no cost to impacted customers.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868 | CISA-ADP | US Government Resource |
| https://status.barracuda.com/incidents/34kx82j5n4q9 | CVE | Vendor Advisory |
| https://www.barracuda.com/company/legal/esg-vulnerability | CVE | MitigationVendor Advisory |
| https://status.barracuda.com/incidents/34kx82j5n4q9 | [email protected] | Vendor Advisory |
| https://www.barracuda.com/company/legal/esg-vulnerability | [email protected] | MitigationVendor Advisory |
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.
| Vulnerability Name | Date Added | Due Date | Required Action |
|---|---|---|---|
| Barracuda Networks ESG Appliance Improper Input Validation Vulnerability | May 26, 2023 | Jun 16, 2023 | Apply updates per vendor instructions. |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| barracuda email security gateway 300 firmware | >= 5.1.3.001, <= 9.2.0.006 |
CPE
Remediation
| |
| barracuda email security gateway 300 | All versions |
CPE
Remediation
| |
| barracuda email security gateway 400 firmware | >= 5.1.3.001, <= 9.2.0.006 |
CPE
Remediation
| |
| barracuda email security gateway 400 | All versions |
CPE
Remediation
| |
| barracuda email security gateway 600 firmware | >= 5.1.3.001, <= 9.2.0.006 |
CPE
Remediation
| |
| barracuda email security gateway 600 | All versions |
CPE
Remediation
| |
| barracuda email security gateway 800 firmware | >= 5.1.3.001, <= 9.2.0.006 |
CPE
Remediation
| |
| barracuda email security gateway 800 | All versions |
CPE
Remediation
| |
| barracuda email security gateway 900 firmware | >= 5.1.3.001, <= 9.2.0.006 |
CPE
Remediation
| |
| barracuda email security gateway 900 | All versions |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Oct 24, 2025 | Modified Analysis | [email protected] |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Apr 2, 2025 | Modified Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jun 1, 2023 | Initial Analysis | [email protected] |