Actively exploited · Published May 24, 2023 · Assigned by Google
CVE-2023-2868Remote Code injection in Barracuda Email Security Gateway
Critical 9.4 Exploited
In plain English
A critical-severity improper input validation in Barracuda Email Security Gateway from Barracuda. Attackers are actively exploiting it in the wild (listed by CISA on May 26, 2023). The chance it is exploited in the next 30 days is estimated at 86.8% (higher than 99.7% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Apply updates per vendor instructions.
CISA guidance
Apply updates per vendor instructions.
Federal agencies must remediate by Jun 16, 2023.
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Barracuda | Barracuda Email Security Gateway | 5.1.3.001 – before 9.2.0.006 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L