CVE-2022-23600 Limited ability to spoof SAML authentication with missing audience verification

Medium 5.3 Published Updated

Attackers can spoof SAML authentication to access Fleet accounts if audience verification is missing, affecting deployments using SAML SSO.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-23600?

CVE-2022-23600 is a medium-severity authentication bypass vulnerability in fleetdm fleet, published on 4 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

fleet is an open source device management, built on osquery. Versions prior to 4.9.1 expose a limited ability to spoof SAML authentication with missing audience verification. This impacts deployments using SAML SSO in two specific cases: 1. A malicious or compromised Service Provider (SP) could reuse the SAML response to log into Fleet as a user -- only if the user has an account with the same email in Fleet, _and_ the user signs into the malicious SP via SAML SSO from the same Identity Provider (IdP) configured with Fleet. 2. A user with an account in Fleet could reuse a SAML response intended for another SP to log into Fleet. This is only a concern if the user is blocked from Fleet in the IdP, but continues to have an account in Fleet. If the user is blocked from the IdP entirely, this cannot be exploited. Fleet 4.9.1 resolves this issue. Users unable to upgrade should: Reduce the length of sessions on your IdP to reduce the window for malicious re-use, Limit the amount of SAML Service Providers/Applications used by user accounts with access to Fleet, and When removing access to Fleet in the IdP, delete the Fleet user from Fleet as well.

Weakness: CWE-287

Which versions are affected by CVE-2022-23600?

2 open source packages ship an affected version, including github.com/fleetdm/fleet/v4. It affects 1 product.

PackageAffectedFixed in
github.com/fleetdm/fleet/v4 GoAll versions4.9.1
github.com/fleetdm/fleet/v4 GoAll versions4.9.1

Products include Fleetdm Fleet.

How do I fix CVE-2022-23600?

Upgrade github.com/fleetdm/fleet/v4 to 4.9.1 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2022-23600 being exploited?

There is no known exploitation of CVE-2022-23600 in the wild and no public exploit code.

Sources

Also known as GHSA-ch68-7cf4-35vr.

Is CVE-2022-23600 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free