CVE-2023-2868criticalunder attackCWE-20

CVE-2023-2868: critical vulnerability in Barracuda Email Security Gateway

Remote Code injection in Barracuda Email Security Gateway

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

100Vexday Risk Score

Patch now. It under exploitation confirmed by CISA, has an official Brazilian government alert and has a working public exploit.

ssvc Actcvss 9.4epss 87%
from disclosure to weapon27 days
Published on NVDMay 24
1st PoC+27d
metasploitMay 23
CISA KEV+2d
Official alert in Brazil

Brazil's federal government published an alert, recommendation or bulletin that cites this vulnerability.

Source: CTIR Gov (GSI) and CISC Gov.br, under the CC BY-ND 3.0 license.
Action required by CISAfederal deadline: 2023-06-16

Apply updates per vendor instructions.

In short

A vulnerability in Barracuda Email Security Gateway allows attackers to remotely execute system commands by uploading a specially crafted .tar file with malicious file names. This can give attackers complete control over the affected email security appliance.

Technical detail

The vulnerability exists in .tar file processing due to insufficient input validation of file names within the archive. An unauthenticated remote attacker can exploit Perl's qx operator via specially crafted file names to achieve arbitrary command execution with the privileges of the Email Security Gateway service on affected versions 5.1.3.001-9.2.0.006.

Summary generated and translated by AI from the official description.

The full analysis of this CVE is available in Portuguese →

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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.