Description
FeatBit before 6.1.3 contains an authorization bypass vulnerability that allows authenticated members of one organization to read other organizations' segments by supplying foreign segment identifiers. Attackers can query the SegmentController segment, by-ids, and flag-references endpoints with their own envId to retrieve end-user keys, targeting rules, and referencing feature flag keys.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
FeatBit FeatBit
Default version status: unaffected
0 to < 6.1.3affected
References
- https://github.com/featbit/featbit/issues/1049 ↗
- https://github.com/featbit/featbit/commit/34f7141b9be01d829968e67be225e7dac9a55adf ↗
- https://github.com/featbit/featbit/commit/6c2622e92403e3a34b0556426de397a12046a5ef ↗
- https://github.com/featbit/featbit/releases/tag/6.1.3 ↗
- https://github.com/featbit/featbit/blob/6.1.2/modules/back-end/src/Api/Controllers/SegmentController.cs#L25-L36 ↗
- https://github.com/featbit/featbit/blob/6.1.2/modules/back-end/src/Application/Segments/GetSegment.cs#L19-L22 ↗
- https://github.com/featbit/featbit/blob/6.1.2/modules/back-end/src/Application/Segments/GetSegmentByIds.cs#L19-L22 ↗
- https://github.com/featbit/featbit/blob/6.1.2/modules/back-end/src/Application/Segments/GetFlagReferences.cs#L15-L27 ↗
- https://github.com/featbit/featbit/blob/6.1.2/modules/back-end/src/Api/Authorization/DefaultPermissionChecker.cs#L84-L102 ↗
- https://www.vulncheck.com/advisories/featbit-before-6.1.3-authorization-bypass-via-segmentcontroller-segment-read-endpoints ↗