LiveActive security incident?Get immediate response
CVE Record

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

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.

CriticalCVSS 9.4Known exploitedUpdated
Glexia's TakeHuman reviewedcritical

Security readout for executives and security teams

Plain-English summary

CVE-2023-2868 lets an unauthenticated remote attacker run commands on Barracuda Email Security Gateway appliances by abusing .tar archive processing. Because the product sits in the email path and CISA lists this CVE as known exploited, exposed appliances should be treated as a serious incident-risk item.

Executive priority

Prioritize immediately for any organization running Barracuda ESG appliances. Known exploitation plus remote unauthenticated command execution creates meaningful risk of email-system compromise, data exposure, and operational disruption.

Technical view

The vulnerability is remote command injection caused by incomplete validation of file names inside user-supplied .tar archives. The described impact is command execution through Perl's qx operator with Email Security Gateway product privileges. Affected appliance-form-factor versions are 5.1.3.001 through 9.2.0.006. Barracuda says BNSF-36456 fixed the issue and was automatically applied to customer appliances.

Likely exposure

Organizations using Barracuda Email Security Gateway appliances, specifically appliance form factor versions 5.1.3.001 through 9.2.0.006. The bundle does not identify virtual, cloud, or other Barracuda products as affected.

Exploitation context

CISA KEV status supports known exploitation. The source bundle does not provide exploit volume, target sectors, malware details, or proof-of-concept status. Treat internet-reachable ESG appliances as high-priority until patch and compromise checks are confirmed.

Researcher notes

Focus validation on appliance-form-factor ESG deployments and patch state. The root issue is archive member-name validation leading to command execution through Perl qx. Available bundle evidence supports exploitation via KEV but does not include safe detection indicators or detailed forensic artifacts.

Mitigation direction

  • Confirm every Barracuda ESG appliance received patch BNSF-36456.
  • Review Barracuda advisory and status guidance for current remediation instructions.
  • Remove or restrict unnecessary internet exposure to ESG management surfaces.
  • Preserve appliance logs and security telemetry before major recovery actions.
  • Escalate suspected compromise through incident response procedures.

Validation and detection

  • Inventory Barracuda ESG appliances and record firmware versions.
  • Verify whether each appliance is in the affected version range.
  • Confirm BNSF-36456 was applied automatically and successfully.
  • Check CISA KEV tracking for required remediation deadlines.
  • Review mail gateway logs for suspicious archive-processing activity.
Prepared
Reviewed
Confidence
high
Sources
5

Michael Williams reviewed this cited source version on .

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-20: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-2868 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.4 (3.1)
Known Exploited
Yes
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CISA KEV status

Status
Known exploited
Source
CISA / ADP
Date added
Not provided

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.4CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L3.95.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.4Critical
CVSS 3.1 vector shape for CVE-2023-2868Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
BarracudaBarracuda Email Security Gateway5.1.3.001unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-20 · source CWE mapping

Improper Input Validation

Improper Input Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.