CVE-2023-2868
Barracuda Networks ESG Appliance Improper Input Validation Vulnerability
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.
Description as published by the source, in English.
Key facts
- Published
- 2023-05-24
- Last modified
- 2026-06-17
- Assigned by
- cve-coordination@google.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
87.4 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2023-05-26, with a remediation deadline of 2023-06-16 for US federal agencies.
Required action: Apply updates per vendor instructions.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Barracuda | Email Security Gateway 300 | all versions listed | Not affected |
| Barracuda | Email Security Gateway 300 Firmware | ≥ 5.1.3.001, ≤ 9.2.0.006 | Affected |
| Barracuda | Email Security Gateway 400 | all versions listed | Not affected |
| Barracuda | Email Security Gateway 400 Firmware | ≥ 5.1.3.001, ≤ 9.2.0.006 | Affected |
| Barracuda | Email Security Gateway 600 | all versions listed | Not affected |
| Barracuda | Email Security Gateway 600 Firmware | ≥ 5.1.3.001, ≤ 9.2.0.006 | Affected |
| Barracuda | Email Security Gateway 800 | all versions listed | Not affected |
| Barracuda | Email Security Gateway 800 Firmware | ≥ 5.1.3.001, ≤ 9.2.0.006 | Affected |
| Barracuda | Email Security Gateway 900 | all versions listed | Not affected |
| Barracuda | Email Security Gateway 900 Firmware | ≥ 5.1.3.001, ≤ 9.2.0.006 | Affected |
Weakness type
-
CWE-77: Improper Neutralization of Special Elements used in a Command
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command…
-
CWE-20: Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1027: Obfuscated Files or Information
- T1036.001: Invalid Code Signature
- T1539: Steal Web Session Cookie
- T1553.002: Code Signing
- T1574.006: Dynamic Linker Hijacking
- T1574.007: Path Interception by PATH Environment Variable
References
- https://status.barracuda.com/incidents/34kx82j5n4q9
- https://www.barracuda.com/company/legal/esg-vulnerability
- https://status.barracuda.com/incidents/34kx82j5n4q9
- https://www.barracuda.com/company/legal/esg-vulnerability
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.