Critical severity · published May 24, 2023
CVE-2023-2868
Remote Code injection in Barracuda Email Security Gateway
In wildKEV
9.8
CVSS
86.8%
EPSS
Yes
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)86.8% · higher than 100% of CVEs
Exploited in the wildYes
CISA KEVListed May 26, 2023
Federal remediation dueJun 16, 2023
Ransomware campaign useNot known
Affected products
Which versions
ES
Email Security Gateway · Barracuda
5.1.3.001 before 9.2.0.006 · source: vendor
ES
Email Security Gateway 300 Firmware · Barracuda
5.1.3.001 through 9.2.0.006 · source: NVD
ES
Email Security Gateway 400 Firmware · Barracuda
5.1.3.001 through 9.2.0.006 · source: NVD
ES
Email Security Gateway 600 Firmware · Barracuda
5.1.3.001 through 9.2.0.006 · source: NVD
ES
Email Security Gateway 800 Firmware · Barracuda
5.1.3.001 through 9.2.0.006 · source: NVD
ES
Email Security Gateway 900 Firmware · Barracuda
5.1.3.001 through 9.2.0.006 · source: NVD
ES
Email Security Gateway (ESG) Appliance · Barracuda Networks
All versions, or not specified · source: KEV
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-2868
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-2868
CISA KEV catalogue
https://www.cisa.gov/known-exploited-vulnerabilities-catalog
www.barracuda.com
https://www.barracuda.com/company/legal/esg-vulnerability
status.barracuda.com
https://status.barracuda.com/incidents/34kx82j5n4q9
