CVE-2023-2868
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.
Weakness
- CWE-20: Improper Input Validation
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Barracuda Networks ESG Appliance Improper Input Validation Vulnerability |
|---|---|
| Vendor / product | Barracuda Networks / Email Security Gateway (ESG) Appliance |
| Date added | 2023-05-26 |
| Federal remediation due date | 2023-06-16 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-01-16 |
Timeline
- 2023-05-24Published by the CNA18:00 UTC
- 2023-05-26Added to the CISA KEV catalog2 days after publication
- 2025-01-16CISA SSVC decision recorded603 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| barracuda email_security_gateway_300_firmware | from 5.1.3.001 through 9.2.0.006no fix listed | not listed |
| barracuda email_security_gateway_400_firmware | from 5.1.3.001 through 9.2.0.006no fix listed | not listed |
| barracuda email_security_gateway_600_firmware | from 5.1.3.001 through 9.2.0.006no fix listed | not listed |
| barracuda email_security_gateway_800_firmware | from 5.1.3.001 through 9.2.0.006no fix listed | not listed |
| barracuda email_security_gateway_900_firmware | from 5.1.3.001 through 9.2.0.006no fix listed | not listed |
References
- 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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-2868'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-2868'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-2868'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-2868'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2023-2868'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).