Steeltoe: Header-forwarded client cert lacks proof of private-key possession
위협 신호 · CVSS · EPSS · KEV
이론적 심각도 점수
예측 데이터 없음
실측 악용 기록 없음
계획된 패치 주기 내 조치(60일 이내)
CVSS 벡터 · 메트릭
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N상세 설명
Summary
When Steeltoe's certificate-based authorization (UseCertificateAuthorization) is configured, the default configuration of the middleware relies on the X-Client-Cert HTTP header to identify the client certificate, without verifying private-key possession. This header is not stripped by common Cloud Foundry routers (like Gorouter or Envoy) on inbound requests.
Impact
An attacker who obtains the public certificate of an application instance in the target organization or space can spoof the X-Client-Cert header. This allows the attacker to bypass SameOrg and SameSpace authorization policies, granting unauthorized access to protected endpoints for the duration of the certificate's validity period.
Affected configuration
- The application uses
AddOrgAndSpacePolicies()andUseCertificateAuthorization()for inter-service authorization. - Inbound requests are not restricted to a known trusted proxy source IP.
- The application's endpoints are network-accessible to the attacker (e.g., exposed to the internet via a public Cloud Foundry route, or the attacker has access to the internal Cloud Foundry network).
Mitigations
If an immediate upgrade to a patched version is not possible:
- Restrict
UseCertificateForwardingto trusted proxy source IPs usingForwardedHeadersOptions.KnownProxiesandKnownNetworks. - Change the forwarding header to
X-Forwarded-Client-Certso that Cloud Foundry Gorouter and Envoy header stripping mechanisms apply to inbound untrusted requests. - Add a secondary authorization layer (e.g., a shared secret or mutual TLS at the proxy layer) for sensitive endpoints.
- Ensure the application is not bound to a public route unless explicitly required. Use Cloud Foundry internal routes (e.g.,
.apps.internal) and container-to-container network policies to strictly limit network access to intended internal clients.
AI 심층 분석
공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.
참고 자료 5
링크 내용 불러오는 중…