Case Study

Zimbra CVE-2023-37580

CVE-2023-37580 is a reflected cross-site scripting flaw in Zimbra Collaboration Suite, discovered in the wild by Google's Threat Analysis Group. The payload's job was to steal the Zimbra authentication token.

It is the shortest page in this set because the argument is entirely in the timeline.

Six weeks as a zero-day, then a second wave after the fix

Exploitation began in June 2023, as a zero-day, before any patch existed. Zimbra published a fix on 25 July 2023.

In August 2023 — after the patch — TAG found the flaw being used against a government organisation. Dark Reading characterised the wider picture as multiple distinct advanced groups converging on the same bug.

So the first wave ran while nobody could fix it, and the second wave ran because the fix had made the bug public and shown everyone exactly where to look. Publishing a patch is necessary, and it is also a starting gun. Patching remains the right thing to do; it is simply not a control that helps on either side of the moment you need it most.

The first wave came before a fix existed. The second came because one did.

- The shape of a disclosed vulnerability

It stole a token, not data

This is the detail worth carrying away. The payload was not exfiltrating mail directly — it was lifting the authentication token. Everything the attacker did afterwards looked like a legitimate, authenticated user, because as far as the application was concerned it was one.

That is the same chain as the Canvas breach, where a stolen session was used to call ordinary APIs for four days, and it is why detection that waits for something to look obviously malicious tends to wait a long time.

Reflected, not stored — and it matters

The other three incidents in this set are stored cross-site scripting: the payload sits in a database, waiting for someone to render it. This one is reflected. It needs only a crafted link, and nothing is ever persisted anywhere for an audit to find later.

There is no artefact. No row in a table, no file on disk, no entry in a queue. If you are not watching what executes in the browser at the moment it executes, a reflected payload leaves you nothing to look at afterwards.

A nonce-based policy is what breaks this chain. With script-src 'self' 'nonce-{random}' and no 'unsafe-inline', an injected script carries no nonce, so the browser refuses to run it — and the session it was reaching for is never taken. It does not matter which field the payload arrived in or which bug let it through.

TAG did not name the targeted organisation and there is no aggregate victim count across the campaigns, so neither appears here.

How we can help

The policy is the mitigation and the reporting is the detection, and it is the second half almost nobody switches on. Run CSP in report-only across the internal tools where untrusted content gets rendered, and an injected inline script announces itself the first time it fires — from the real session it fired in, with the page it fired on.

One line of code or config to deploy, and nothing is blocked while you learn what the policy would have caught. Reach out to sales@report-uri.com for a demo or a trial with no commitment.

Get Started

The patch told everyone where to look. See what executes in the meantime.

One header. No code. Your script inventory starts populating from the first visitor.

30-day free trial  ·  One header  ·  No code  ·  Cancel anytime

Script Watch

Script Watch will monitor all JavaScript dependencies across your entire site and immediately notify you of any changes. A new JavaScript dependency could be the start of a Magecart attack.

Because Script Watch leverages the browser native Content Security Policy, there is no code or agent to deploy and running in the browser means we analyse your site in real-time as your users are browsing. We don't have the same limitations as external scanning services such as authentication or pay walls, geo-sensitive content or an attacker potentially serving safe content to the crawler.

Read More

Data Watch

Data Watch will monitor all of the locations that your webpages are sending data to. If your website starts sending data to a new location, it could be the start of a Magecart attack.

With Script Watch and Data Watch combined, you can monitor for clear indicators that your site has been compromised. Attackers will always want to inject their hostile JavaScript, and they'll always want to exfiltrate their stolen data.

Read More

The CSP Wizard

We often find that creating a CSP is the first difficult step that organisations face. Having a complete list of all resource dependencies across your entire site like images, scripts or styles, from both 1st-party and 3rd-party locations, is tough to achieve.

The CSP Wizard was created to solve this problem, and in seven days or less, it can give you a complete list of all resources used across your entire site.

With the list of all resources you use on your site, and our easy-to-use tool, creating a viable Content Security Policy is easier than ever with just a few clicks.

Documentation

The CSP Builder

All Content Security Policies will need to be tweaked at some point. New resources may be added to the site or old resources removed, and the policy needs to be updated to reflect those changes and kept up to date.

You can import your existing policy into the CSP Builder and use our fully featured tool to make any changes that you require right there in the UI. When you're done, hit Generate, and the CSP Builder will provide you with your new, updated policy.

CSP Builder

Content Security Policy

Script Watch and Data Watch will allow you to rapidly detect and respond to a Magecart attack and combined, that capability puts you ahead of the field. If you want to take it a step further, Content Security Policy can mitigate a Magecart attack and stop it from even happening.

Deploying an effective Content Security Policy can be difficult, but our CSP Reporting allows you to gather feedback and safely test a policy before deployment. Once deployed, an effective Content Security Policy will block a Magecart attack and stop the hostile JavaScript from even running.

Read More

Threat Intelligence

We subscribe to various feeds of Threat Intelligence data, along with managing our own internally generated feeds, to keep apprised of the latest threats that exist online.

Using this Threat Intelligence Data, we can better analyse the sources of JavaScript on your website and detect malicious activity sooner.

Read More