CVE-2023-2868

Published May 24, 2023

Last updated 8 months ago

Exploit knownCVSS critical 9.4
web application
Network
Zero-day

Overview

AI description

Automated description summarized from trusted sources.

CVE-2023-2868 is a remote command injection vulnerability found in Barracuda Email Security Gateway (ESG) appliances, specifically affecting versions 5.1.3.001 through 9.2.0.006. The flaw stems from inadequate sanitization during the processing of `.tar` file attachments in incoming emails. Attackers exploited this by crafting malicious `.tar` files, where manipulated filenames within the archive allowed for the execution of system commands with the privileges of the ESG product. This vulnerability was actively exploited in the wild by threat actors since at least October 2022, prior to its public disclosure by Barracuda in May 2023. Exploitation enabled unauthorized execution of commands, leading to capabilities such as persistent access, email scanning, credential harvesting, and data exfiltration. While Barracuda initially issued patches, the company later advised customers to decommission and replace affected physical ESG appliances due to the deep and persistent nature of the compromise.

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.
Source
cve-coordination@google.com
NVD status
Analyzed
Products
email_security_gateway_300_firmware, email_security_gateway_400_firmware, email_security_gateway_600_firmware, email_security_gateway_800_firmware, email_security_gateway_900_firmware

Risk scores

CVSS 3.1

Type
Primary
Base score
9.8
Impact score
5.9
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity
CRITICAL

Known exploits

Data from CISA

Vulnerability name
Barracuda Networks ESG Appliance Improper Input Validation Vulnerability
Exploit added on
May 26, 2023
Exploit action due
Jun 16, 2023
Required action
Apply updates per vendor instructions.

Weaknesses

cve-coordination@google.com
CWE-20
nvd@nist.gov
CWE-77

Social media

Hype score
Not currently trending

Configurations