Description
CTFd 3.1.0 before 3.8.7 contains an information disclosure vulnerability in the /api/v1/teams list endpoint that exposes non-public team custom field values. Unauthenticated attackers can paginate GET requests to collect hidden registration data such as emails, phone numbers, and student IDs when team mode and public visibility are enabled.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
CTFd CTFd
Default version status: unaffected
3.1.0 to < 3.8.7affected
References
- https://github.com/CTFd/CTFd/commit/122c224030224ca6a04d2928280055a84bbd4850 ↗
- https://github.com/CTFd/CTFd ↗
- https://github.com/CTFd/CTFd/blob/3.8.6/CTFd/api/v1/teams.py#L128-L131 ↗
- https://github.com/CTFd/CTFd/blob/3.8.6/CTFd/schemas/teams.py#L336-L363 ↗
- https://blog.ctfd.io/ctfd-3-8-7/ ↗
- https://github.com/CTFd/CTFd/releases/tag/3.8.7 ↗
- https://www.vulncheck.com/advisories/ctfd-3.1.0-before-3.8.7-information-disclosure-via-api-v1-teams-endpoint ↗