GHSA-ch68-7cf4-35vr

Suggest an improvement
Source
https://github.com/advisories/GHSA-ch68-7cf4-35vr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-ch68-7cf4-35vr/GHSA-ch68-7cf4-35vr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-ch68-7cf4-35vr
Aliases
Related
Published
2022-02-07T21:57:38Z
Modified
2023-11-01T04:57:57.725922Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Limited ability to spoof SAML authentication with missing audience verification in Fleet
Details

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. * Email us at security@fleetdm.com.

Database specific
{
    "nvd_published_at": "2022-02-04T23:15:00Z",
    "github_reviewed_at": "2022-02-03T17:19:00Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-284",
        "CWE-287"
    ]
}
References

Affected packages

Go / github.com/fleetdm/fleet/v4

Package

Name
github.com/fleetdm/fleet/v4
View open source insights on deps.dev
Purl
pkg:golang/github.com/fleetdm/fleet/v4

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.9.1