{
  "id": "CVE-2023-2868",
  "url": "https://poc.griffinguard.io/cve/CVE-2023-2868",
  "published_at": "2023-05-24T18:00:52.36Z",
  "title": "Remote Code injection in Barracuda Email Security Gateway",
  "vendor": "Barracuda",
  "product": "Barracuda Email Security Gateway",
  "cvss": {
    "score": 9.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2023-05-26",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 2
  },
  "first_poc": {
    "created_at": "2023-06-20T18:43:54Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 27,
    "repo": "cfielding-r7/poc-cve-2023-2868",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Mail / web gateway",
    "confidence": "high",
    "reason": "known edge product: Barracuda Barracuda Email Security Gateway Remote Code"
  },
  "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.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cna": 9.4
  },
  "repos": [
    {
      "repo": "hheeyywweellccoommee/CVE-2023-2868-lchvp",
      "url": "https://github.com/hheeyywweellccoommee/CVE-2023-2868-lchvp",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:15:13.872Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "cfielding-r7/poc-cve-2023-2868",
      "url": "https://github.com/cfielding-r7/poc-cve-2023-2868",
      "created_at": "2023-06-20T18:43:54Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 11,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-04-17T20:40:59Z"
    },
    {
      "repo": "cashapp323232/CVE-2023-2868CVE-2023-2868",
      "url": "https://github.com/cashapp323232/CVE-2023-2868CVE-2023-2868",
      "created_at": "2023-07-30T16:42:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-05-02T11:00:29Z"
    },
    {
      "repo": "getdrive/PoC",
      "url": "https://github.com/getdrive/PoC",
      "created_at": "2023-08-05T11:02:23Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 74,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-07-28T07:06:50Z"
    },
    {
      "repo": "krmxd/CVE-2023-2868",
      "url": "https://github.com/krmxd/CVE-2023-2868",
      "created_at": "2023-08-25T13:07:51Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-03-08T14:44:58Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/smtp/barracuda_esg_tarfile_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Barracuda ESG TAR Filename Command Injection (exploit/linux/smtp/barracuda_esg_tarfile_rce)",
      "published_at": "2026-02-28T07:29:56Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
