Skip to content

CVE-2023-2868 Remote Code injection in Barracuda Email Security Gateway

CriticalCVSS 9.8 EPSS 86.8% CISA KEV added 2023-05-26 · due 2023-06-16 Exploited in the wild Framework module PoC
Published
Updated
Exploit status
Exploited in the wild (confirmed)
CISA SSVC
Actively exploited · automatable: yes · technical impact: total

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.

CISA Known Exploited Vulnerability

Date added
2023-05-26
Due date (FCEB)
2023-06-16
Ransomware use
Unknown

Required action

Apply updates per vendor instructions.

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
Barracuda Email Security Gateway >= 5.1.3.001, < 9.2.0.006 9.2.0.006 Fixed
barracuda email security gateway 300 firmware >= 5.1.3.001, <= 9.2.0.006 after 9.2.0.006 Fixed
barracuda email security gateway 400 firmware >= 5.1.3.001, <= 9.2.0.006 after 9.2.0.006 Fixed
barracuda email security gateway 600 firmware >= 5.1.3.001, <= 9.2.0.006 after 9.2.0.006 Fixed
barracuda email security gateway 800 firmware >= 5.1.3.001, <= 9.2.0.006 after 9.2.0.006 Fixed
barracuda email security gateway 900 firmware >= 5.1.3.001, <= 9.2.0.006 after 9.2.0.006 Fixed

Affected products

ProductAffected versionsFixed in
Barracuda Email Security Gateway >= 5.1.3.001, < 9.2.0.006 9.2.0.006
barracuda email security gateway 300 firmware >= 5.1.3.001, <= 9.2.0.006 No fix listed
barracuda email security gateway 400 firmware >= 5.1.3.001, <= 9.2.0.006 No fix listed
barracuda email security gateway 600 firmware >= 5.1.3.001, <= 9.2.0.006 No fix listed
barracuda email security gateway 800 firmware >= 5.1.3.001, <= 9.2.0.006 No fix listed
barracuda email security gateway 900 firmware >= 5.1.3.001, <= 9.2.0.006 No fix listed

References