GHSA-w7wm-2425-7p2h MarbleRun unauthenticated recovery allows Coordinator impersonation
Attackers can impersonate a Coordinator during recovery by crafting a sealed state, tricking clients into trusting a malicious manifest if they do not verify the root certificate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-w7wm-2425-7p2h?
GHSA-w7wm-2425-7p2h is an authentication bypass vulnerability in github.com/edgelesssys/marblerun, published on 4 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Impact
During recovery, a Coordinator only verifies that a given recovery key decrypts the sealed state, not if this key was provided by a party with access to one of the recovery keys defined in the manifest. This allows an attacker to manually craft a sealed state using their own recovery keys, and a manifest that does not match the rest of the state.
If network traffic is redirected from the legitimate coordinator to the attacker's Coordinator, a remote party is susceptible to impersonation if they verify the Coordinator without comparing the root certificate of the Coordinator against a trusted reference.
Under these circumstances, an attacker can trick a remote party into trusting the malicious Coordinator by presenting a manifest that does not match the actual state of the deployment.
This issue does not affect the following:
- secrets and state of the legitimate Coordinator instances
- integrity of workloads
- certificates chaining back to the legitimate Coordinator root certificate
Patches
The issue has been patched in v1.7.0.
Workarounds
Connections that purely authenticate based on a known Coordinator's root certificate, e.g. the one retrieved when using the marblerun manifest set CLI command, are not affected.
Which versions are affected by GHSA-w7wm-2425-7p2h?
3 open source packages ship an affected version, including github.com/edgelesssys/marblerun.
| Package | Affected | Fixed in |
|---|---|---|
github.com/edgelesssys/marblerun Go | All versions | 1.7.0 |
github.com/edgelesssys/marblerun Go | All versions | 1.7.0 |
github.com/edgelesssys/marblerun Go | All versions | 1.7.0 |
How do I fix GHSA-w7wm-2425-7p2h?
Upgrade github.com/edgelesssys/marblerun to 1.7.0 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is GHSA-w7wm-2425-7p2h being exploited?
There is no known exploitation of GHSA-w7wm-2425-7p2h in the wild and no public exploit code.
Sources
Also known as GO-2025-3450.