GHSA-ch68-7cf4-35vr
Limited ability to spoof SAML authentication with missing audience verification in Fleet
Quick fix
GHSA-ch68-7cf4-35vr — github.com/fleetdm/fleet/v4: upgrade to the fixed version with the command below.
go get github.com/fleetdm/fleet/v4@v4.9.1Details
### Impact
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.
### Patches Fleet 4.9.1 resolves this issue.
### Workarounds and good practices * 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. * When removing access to Fleet in the IdP, delete the Fleet user from Fleet as well.
### For more information If you have any questions or comments about this advisory: * Join us in the #fleet channel of [osquery Slack](https://join.slack.com/t/osquery/shared_invite/zt-h29zm0gk-s2DBtGUTW4CFel0f0IjTEw). * Email us at [security@fleetdm.com](mailto:security@fleetdm.com).
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 4.9.1go get github.com/fleetdm/fleet/v4@v4.9.1