Flagrに認証を回避される脆弱性、フラグの作成・変更・削除が可能に
Summary
Flagrの1.2.5より前のバージョンには、認証を回避される脆弱性があります。デフォルトの認証除外設定により、未認証の攻撃者がフラグの管理用APIを通じて、フラグやバリアントなどを作成・変更・削除できるおそれがあります。修正版の1.2.5で対応してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Flagrの1.2.5より前のバージョンには、認証を回避される脆弱性があります。デフォルトの認証除外設定により、未認証の攻撃者がフラグの管理用APIを通じて、フラグやバリアントなどを作成・変更・削除できるおそれがあります。修正版の1.2.5で対応してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| OpenFlagrFlagr |
< 1.2.5→ 1.2.5 |
1.2.5 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com