Actively exploited vulnerability
Barracuda Networks Email Security Gateway (ESG) Appliance: improper access control flaw under attack
CVE-2023-2868 · Barracuda Networks ESG Appliance Improper Input Validation Vulnerability
What is affected
Barracuda Networks Email Security Gateway (ESG) Appliance is mostly run by companies, schools and public bodies, not on home computers. You are unlikely to have it yourself, but organisations that hold your data may. Breaches that start with flaws like this one are how personal data ends up leaked.
Barracuda Email Security Gateway (ESG) appliance contains an improper input validation vulnerability of a user-supplied .tar file, leading to remote command injection.
What an attacker can do
This is a improper access control flaw. It lets an attacker perform actions or reach data that should be restricted to authorised users.
- How it is reached
- Over the internet or network
- Access the attacker needs
- No account needed
- Does the victim have to do something?
- No, works without the victim doing anything
What to do
- At home: nothing to install. Keep your own devices updated and use a different password for every service, so that a breach at one organisation does not open your other accounts.
- If you administer Barracuda Networks Email Security Gateway (ESG) Appliance at work: apply the vendor's fix or mitigation now and review logs for signs of compromise, because the flaw was being exploited before it was listed.
- If the product is past its support date and no fix exists, take it off the internet or retire it.
Apply updates per vendor instructions.
Vendor advisories and fixes
- status.barracuda.comstatus.barracuda.com/incidents/34kx82j5n4q9
How urgent is it
CISA added this vulnerability to its Known Exploited Vulnerabilities catalogue on May 26, 2023, which means there is reliable evidence of attacks in the wild. US federal agencies must fix it by June 16, 2023, a deadline that has already passed. That deadline does not bind anyone else, but it shows how seriously the agency rates it.
The EPSS model estimates a 88% probability that this flaw will be exploited somewhere in the next 30 days. That is higher than 99.8% of all scored vulnerabilities.
Its CVSS severity score is 9.8 out of 10 (critical), as recorded in the US National Vulnerability Database.
Technical 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.