CAPIのNginx設定漏れで未認証の内部APIが公開される脆弱性
Summary
CAPI(Cloud Controller API)のNginx設定で/internal/v3/がアクセス制限から漏れており、認証なしで内部のステージング用コールバックに到達できる脆弱性です。権限の低いSpaceAuditorでも、GUIDを集めれば細工したリクエストを送れるおそれがあり、CVSSは8.8です。CAPIは v1.247.0、cf-deployment は 60.7.0 で修正されているため、該当する場合は修正版への更新を進めてください。
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.
CAPI(Cloud Controller API)のNginx設定で/internal/v3/がアクセス制限から漏れており、認証なしで内部のステージング用コールバックに到達できる脆弱性です。権限の低いSpaceAuditorでも、GUIDを集めれば細工したリクエストを送れるおそれがあり、CVSSは8.8です。CAPIは v1.247.0、cf-deployment は 60.7.0 で修正されているため、該当する場合は修正版への更新を進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Cloud FoundryCAPI (Cloud Controller API) |
< v1.247.0→ v1.247.0 |
v1.247.0 |
| Cloud Foundrycf-deployment |
< 60.7.0→ 60.7.0 |
60.7.0 |
Original description The description as published by the source.
The Nginx routing configuration for Cloud Controller blocks unauthenticated access to /internal/v4/ and /internal/v5/ endpoints but omits an equivalent deny rule for /internal/v3/. As a result, the staging callback endpoints /internal/v3/staging/:guid/droplet_completed and /internal/v3/staging/:guid/build_completed are reachable from the public API listener without OAuth or mutual TLS.
An attacker with a valid build or droplet GUID can submit a forged staging callback, transition a droplet to STAGED, and persist arbitrary process metadata and sidecar data with no associated package or actor. A SpaceAuditor can enumerate GUIDs without write permissions, making this an effective privilege escalation beyond the intended role boundary.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@vmware.com
- web nvd.nist.gov
- web cloudfoundry.org
- web github.com