Flagr authentication bypass in flag management API
OpenFlagr Flagr
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| OpenFlagr Flagr |
| No fix yet |
Original description
Flagr before 1.2.5 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to access the flag management write API through an insecure default FLAGR_BASIC_AUTH_WHITELIST_PATHS including /api/v1/flags. Because basicAuth.whitelist() in pkg/config/middleware.go matches only path prefixes regardless of HTTP method, attackers can create, modify, enable, disable, and delete flags, variants, segments, constraints, and distributions.
From the CVE record · VulnCheck