On May 18 Barracuda noticed anomalous traffic coming from some of its Email Security Gateway appliances. By the next day it had identified a remote command injection flaw, CVE-2023-2868, in the module that screens incoming email attachments. On May 20 it applied a patch to every ESG worldwide, and on May 21 it deployed a containment script to the affected units. CISA added the flaw to its Known Exploited Vulnerabilities catalogue on May 26.
Yesterday's update changed the shape of the story. Barracuda now says the earliest evidence of exploitation dates to October 2022, roughly seven months before anyone noticed, and it has named three pieces of malware found on compromised units: SALTWATER, SEASPY and SEASIDE. Its advice to affected customers is no longer only to make sure they are patched. It is to stop using the compromised appliance, obtain a new one, and rotate the credentials it held.
Why attackers like security appliances
From the offensive side of our house, this is not a surprising target. It is close to an ideal one.
- It parses hostile input by design. An email gateway exists to open attachments from strangers. This flaw sat in exactly that function: file names inside .tar archives were not properly validated before reaching a system command.
- It is reachable by anyone. Anyone who can send you an email can deliver input to it. No click required.
- It runs no EDR. You cannot install your endpoint agent on a sealed appliance, so whatever happens on it happens outside the visibility you built for everything else.
- It is trusted and connected. It sits in front of your mail flow, often talks to your directory, and holds credentials and certificates that other systems accept.
- Nobody tests it. In many penetration-test scopes we review, appliances are listed as "vendor-managed, out of scope".
Months of undetected access to such a device is not an indictment of any particular customer. It is what that combination produces.
Patching was necessary and not sufficient
Barracuda pushed its fix to every unit without waiting for customers to act, and that deserves credit. It is still worth being clear about what a patch can and cannot do for an appliance that was already compromised.
It closes the hole. It does not tell you what was installed through the hole over the preceding months, and on a sealed device you are not in a position to check for yourself. You cannot image it, you cannot run your own tooling on it, and the vendor's view is the only view available. That is why replacement is the honest remediation: when you cannot verify the inside of a device, starting again from a known-good state is the only clean answer.
What it held is what you lost
The most useful part of Barracuda's May 30 guidance is its list of credentials for affected customers to rotate: anything connected to LDAP or Active Directory, Barracuda Cloud Control, FTP and SMB credentials, and any private TLS certificates on the appliance.
Read that list as a template rather than a Barracuda quirk. Every appliance you run holds something similar. A gateway that looks up recipients in the directory has a service account. One that terminates TLS has private keys. One that archives mail can reach a file share. When the appliance falls, those secrets are the attacker's next step, and they keep working from anywhere long after the box itself is gone.
What to do this quarter
If you run a Barracuda ESG. Check the appliance interface for Barracuda's notice, confirm the unit is receiving updates, and review your network logs against the indicators the vendor has published. If your unit is identified as compromised, follow the vendor's advice to take it out of service and rotate everything on that list. Treat the appliance's service accounts as spent either way.
For every appliance you run, write one page. What it can reach, which accounts it uses, which keys and certificates it stores, and who at the vendor you would call. When we do this with clients, there is usually at least one directory account with far more rights than the appliance needs.
Scope service accounts down. An email gateway needs to look up recipients, not administer the domain. A read-only, narrowly scoped account turns a compromised appliance from a directory incident into a mail incident.
Watch it from the outside. You cannot put an agent on the box, but you can see its traffic. An email gateway has a narrow, predictable set of destinations. Connections to anything else, especially long-lived outbound sessions, deserve an alert, and that alert works without knowing the vulnerability.
Put appliances in scope. Ask your testers to examine what each appliance can reach and which credentials it exposes, even where they cannot test the device itself. "Out of scope" should be a decision, not a default.
Plan for replacement before you need it. If the vendor told you tomorrow that a device could not be trusted, how would mail keep flowing while you swapped it? Organizations with a tested fallback route will have a much easier summer than those without one.
The uncomfortable point
We buy security appliances to reduce risk, and for most of their lives they do. But each one is also a networked computer that parses the most hostile input you receive and that you are not allowed to look inside. That is a reasonable trade only if you know what it holds, limit what it can reach, and watch what it says to the outside world.
A box you cannot see inside is one you should at least be able to see around.






