☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2023-2868

CVE-2023-2868 — Remote Code injection in Barracuda Email Security Gateway
📅 PUBLISHED: 2023-05-24 00:00 UTC 🔄 UPDATED: 2026-10-11 17:30 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix ⏳ Vendor-claimed fix: v9.2.0.006 — source: Google. UNVERIFIED · pending independent confirmation. how verification works →
[ DEFENSE PATCH ↓ ]
🚨 ACTIVELY EXPLOITED (KEV) 💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 87.69%
👁️
87.69% probability
1000×+ above the median CVE
Tier: CRITICAL
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: USA License: Commercial
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
9.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2023-2868 is a remote command injection vulnerability in the Barracuda Email Security Gateway appliance form factor affecting versions 5.1.3.001 through 9.2.0.006. The flaw occurs during processing of user-supplied .tar files where file names inside the archive are not comprehensively sanitized, allowing a remote attacker to execute system commands via Perl's qx operator with the product's privileges. Impact includes full system compromise of the email security appliance; the issue carries a CVSS score of 9.4 and an EPSS score of 0.87449 placing it in the 99.7th percentile of exploited CVEs.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Technical Analysis

The vulnerability stems from incomplete input validation of file names contained within .tar archives processed by the Email Security Gateway. When the appliance extracts or handles the archive, specially crafted file names trigger command execution through Perl's qx operator without adequate escaping or filtering. This affects only the appliance form factor and was addressed in the BNSF-36456 patch that was automatically deployed to customer appliances. No other technical implementation details such as specific code paths or additional parameters are provided in the source description.

Exploitation Scenarios

No public PoC available; attack chain is inferred from vulnerability class.

Steps:

  1. Reconnaissance/target identification involves locating exposed Barracuda Email Security Gateway appliances via internet scanning.
  2. The specific flaw class is triggered by uploading a crafted .tar file containing file names formatted to bypass sanitization during archive processing.
  3. Payload/execution method at the vulnerability-class level uses the unsanitized file names to inject commands executed through Perl's qx operator.
  4. Post-exploitation impact grants the attacker system command execution with the privileges of the Email Security Gateway product.

Impact Assessment

Successful exploitation yields remote code execution on the Email Security Gateway appliance, enabling attackers to run arbitrary commands, potentially intercept or manipulate email traffic, and pivot within the enterprise email infrastructure. The CVSS score of 9.4 indicates critical severity with high impact on confidentiality, integrity, and availability. Blast radius is limited to the appliance itself but can affect all email flows routed through the device; affected systems are restricted to the listed version range on appliance hardware.

Detection Guidance

Sigma Rule

title: Barracuda ESG Tar File Processing Anomaly
id: 8f4e2c1a-3b7d-4e9f-9a2c-5d8e1f3b2c4a
status: experimental
description: Detects potential exploitation of CVE-2023-2868 via anomalous .tar handling
logsource:
  product: barracuda
  service: esg
detection:
  selection:
    EventID: 1001
    FileName|contains: ".tar"
  condition: selection
fields:
  - EventID
  - FileName
  - User
level: high

YARA Rule

rule CVE_2023_2868_Barracuda_Tar_Command_Injection {
    meta:
        description = "Detects indicators related to CVE-2023-2868 .tar processing"
        author = "valtersit.com"
        date = "2024-10-01"
    strings:
        $tar = ".tar" ascii wide
        $perl_qx = "qx" ascii
    condition:
        $tar and $perl_qx
}

Suricata IDS Rule

alert http any any -> $HOME_NET any (msg:"CVE-2023-2868 Barracuda ESG .tar Upload Attempt"; flow:established,to_server; http.request_body; content:".tar"; sid:20232868; rev:1;)

Elastic Detection

sequence by host.id with maxspan=5m
  [file where file.extension == "tar" and process.name == "perl"]

Splunk SPL Query

index=barracuda sourcetype=esg_logs FileName="*.tar" 
| stats count by src_ip, FileName, _time 
| where count > 0

Wazuh OSSEC Rule

<group name="barracuda,">
  <rule id="817057" level="12">
    <if_sid>1001</if_sid>
    <match>.tar</match>
    <description>Potential CVE-2023-2868 exploitation via .tar file</description>
  </rule>
</group>

Mitigation & Patch Guidance

Patch confidence: 0/4 (UNPATCHED — no patch evidence from any tracked source).

  1. Immediate mitigations include restricting inbound .tar file uploads to the Email Security Gateway and monitoring for anomalous archive processing.
  2. Patch/upgrade steps require verification of BNSF-36456 application status directly with Barracuda support since no tracked sources confirm deployment.
  3. Long-term hardening involves network segmentation of email security appliances, disabling unnecessary archive handling features, and implementing strict allow-listing for file types processed by the gateway.

References

https://nvd.nist.gov/vuln/detail/CVE-2023-2868 Barracuda BNSF-36456 patch notification No known threat actor campaigns or exploit-in-the-wild evidence recorded in CISA KEV.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

Barracuda Email Security Gateway
http.title:"Barracuda Email Security Gateway"
product:"Barracuda"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
⚡ METASPLOIT MODULE RAPID7 FRAMEWORK 1 MODULE AVAILABLE

This CVE has ready-to-use modules in the Metasploit Framework — the industry-standard penetration testing platform used by security teams worldwide. Presence of an MSF module significantly increases real-world exploitation risk.

exploit Barracuda ESG TAR Filename Command Injection Great VIEW ↗
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2023-2868/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.