7.5high
Improper Access Control in kctf
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.58% (higher than 42% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
kCTF is a Kubernetes-based infrastructure for capture the flag (CTF) competitions. Prior to version 1.6.0, the kctf cluster set-src-ip-ranges was broken and allowed traffic from any IP. The problem has been patched in v1.6.0. As a workaround, those who want to test challenges privately can mark them as `public: false` and use `kctf chal debug port-forward` to connect.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| google kctf | < 1.6.0, before 1.6.0 | CVE List, NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
kCTF is a Kubernetes-based infrastructure for capture the flag (CTF) competitions. Prior to version 1.6.0, the kctf cluster set-src-ip-ranges was broken and allowed traffic from any IP. The problem has been patched in v1.6.0. As a workaround, those who want to test challenges privately can mark them as `public: false` and use `kctf chal debug port-forward` to connect.
NVD (es)
kCTF es una infraestructura basada en Kubernetes para competiciones de captura de la bandera (CTF). En versiones anteriores a 1.6.0, el cluster kctf set-src-ip-ranges estaba roto y permitía el tráfico desde cualquier IP. El problema ha sido parcheado en versión v1.6.0. Como mitigación, aquellos que quieran probar los retos de forma privada pueden marcarlos como "public: false" y usar "kctf chal debug port-forward" para conectarse
References
| https://github.com/google/kctf/security/advisories/GHSA-4g2v-6qc6-6jv5 | third-party-advisory | |
| https://github.com/google/kctf/pull/371 | patch, third-party-advisory | |
| https://github.com/google/kctf/commit/8cf050be974fcc2fd8aa136701f9a66f2b2a5202 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31055 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2022-31055 changed 2026-06-17 | Public domain |