CVE-2023-2868
CRITICAL KEVBarracuda Email Security Gateway <9.2.0.006 - Command Injection
Title source: llmExploitation Summary
CVE-2023-2868 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added May 26, 2023.
EIP tracks 4 public exploits from researchers including cfielding-r7, krmxd, cashapp323232, including a Metasploit module exploits/linux/smtp/barracuda_esg_tarfile_rce.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2023-2868, a command injection vulnerability in Barracuda Email Security Gateway (ESG). The PoC crafts a malicious tar file with a payload that spawns a reverse shell when processed by the vulnerable ESG appliance.
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.
Exploits (4)
This repository contains a functional exploit for CVE-2023-2868, a command injection vulnerability in Barracuda Email Security Gateway (ESG). The PoC crafts a malicious tar file with a payload that spawns a reverse shell when processed by the vulnerable ESG appliance.
This Metasploit module exploits CVE-2023-2868, a command injection vulnerability in Barracuda Email Security Gateway (ESG) appliances. It crafts a malicious TAR file with a filename containing backtick-wrapped commands, which are executed when the ESG processes the attachment.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L