# CVE-2023-2868

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.

- Page: https://www.vulneraibility.com/cve/CVE-2023-2868
- CVSS: 9.4
- Known exploited: yes, in CISA KEV since 2023-05-26; CISA due date 2023-06-16
- EPSS: 86.84% (percentile 99.7)
- Public exploit code: 1 Metasploit module · 3 GitHub proofs of concept (first 2023-06-20)
- CISA SSVC: exploitation active, automatable yes, technical impact total (assessed 2025-01-16)
- Weakness: CWE-20
- Published: 2023-05-24

## Affected versions

- Barracuda Barracuda Email Security Gateway: affected >= 5.1.3.001 and < 9.2.0.006

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://www.barracuda.com/company/legal/esg-vulnerability
- [other] https://status.barracuda.com/incidents/34kx82j5n4q9
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
