Skip to content

GHSA-ch68-7cf4-35vr CVE-2022-23600

Limited ability to spoof SAML authentication with missing audience verification in Fleet

Medium Go
Severity
5.3 / 10
Medium · CVSS 3.1
Exploit chance (EPSS)
0.89%
Chance of exploitation in the next 30 days. Higher than 59.47% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-284 Improper Access Control
CWE-287 Improper Authentication
Fix
4.9.1
Upgrade github.com/fleetdm/fleet/v4 to this version or later

Description

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:

Affected versions

Go

PackageVulnerableFixed in
github.com/fleetdm/fleet/v4
< 4.9.1
4.9.1

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

github.com/fleetdm/fleet/v4 Go → 4.9.1

go
go get github.com/fleetdm/fleet/v4@v4.9.1 && go mod tidy

Severity breakdown

CVSS 3.1 5.3

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Weakness

CWE-284: Improper Access Control

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

How to prevent it
  • Architecture and Design, Operation: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
  • Architecture and Design: Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

CWE-287: Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

How to prevent it
  • Architecture and Design: Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-rxhg-vcww-2mpw
Fleet: ORDER BY column injection on activity list endpoints
Low Also affects github.com/fleetdm/fleet/v4
GHSA-q9c5-pp7m-fm2g
Fleet: Unauthenticated download of in-house iOS app binaries via predictable URLs
Medium Also affects github.com/fleetdm/fleet/v4
GO-2026-6264
Fleet: SQL injection in Okta conditional access endpoint allows host-controlled compromise of the Fleet database
High Also affects github.com/fleetdm/fleet/v4
GHSA-88p2-jj8w-j8qg
Fleet: Observer-class users can view team enroll secrets and credential-bearing configuration via target search endpoint
Medium Also affects github.com/fleetdm/fleet/v4
GHSA-gm7f-v959-fr2g
Fleet DM Vulnerable to Cross-Team Policy Data Exposure via Global Policy Read Endpoint
Medium Also affects github.com/fleetdm/fleet/v4
GHSA-x4qr-qw6h-wvxq
Fleet: Observer-level enrollment secret extraction via ORDER BY oracle on Apple MDM commands endpoint
Medium Also affects github.com/fleetdm/fleet/v4
GHSA-vxm7-9x8v-8gm4
Fleet has observer-level enrollment secret extraction via ORDER BY oracle on labels host-listing endpoint
Medium Also affects github.com/fleetdm/fleet/v4
GHSA-mxmp-wr3w-rvqx
Fleet: IP spoofing allows bypassing API rate limiting
High Also affects github.com/fleetdm/fleet/v4
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor