Summary
Contrast before 1.16.0 may accept a valid TEE attestation report without verifying that it was produced by the specific trusted machine expected for the session. An attacker who can intercept relevant network traffic and control or extract secrets from another TEE machine could relay an attestation to impersonate a Contrast Coordinator or workload and bypass identity verification in attested TLS.
Affected context
The issue occurs in Contrast deployments that rely on remote TEE attestation for identity verification through attested TLS (aTLS). It becomes risky when attestation validation checks firmware and software measurements but does not bind the report to the identity or hardware provenance of the machine that generated it.
Exploit preconditions
- Attack surface: Network communications between the CLI and Coordinator, or between the Coordinator and an attested component
- Required access: Ability to intercept or relay traffic, together with control of or secret extraction from at least one physically accessible TEE machine
- Trigger point: Remote attestation validation during establishment or verification of an attested TLS identity
- Why exploitation is possible: The verifier accepts reports with expected measurements without confirming that the report originated from the specific hardware identity trusted for that connection
Why this happens
The underlying flaw is insufficient binding between a remote attestation report and the expected physical TEE identity. Validation confirms that a report is cryptographically valid and contains acceptable firmware and software measurements, but treats those properties as sufficient without authenticating the producing machine or preventing cross-machine report reuse. This behavior maps to CWE-295: Improper Certificate Validation, because identity-verification material is accepted without validating all attributes needed to establish the intended trusted endpoint.
Potential impact
- An attacker may impersonate a Contrast Coordinator or workload
- Attested TLS identity verification could be bypassed
- Sensitive communications may be redirected or observed
- An attacker could gain unauthorized access to protected services or workflows
- Trust decisions based on TEE measurements could be manipulated
General mitigation guidance
Mitigation generally focuses on binding attestation evidence to the intended hardware identity and connection context rather than validating measurements alone.
Common defensive patterns include:
- Require verifier checks for platform-specific hardware identity, endorsement credentials, and certificate-chain relationships
- Bind attestation evidence to the intended endpoint, session, nonce, and negotiated channel
- Reject reports that are valid but originate from an unrecognized or mismatched TEE identity
- Protect attestation keys and secrets against extraction, and minimize physical access to TEE systems
- Apply least privilege to Coordinators, workloads, and attestation services
- Monitor and constrain network paths where attestation reports and aTLS handshakes are exchanged
How teams detect issues like this
Organizations can assess for this weakness through:
- Static and design analysis of attestation verifiers for checks that validate measurements without validating platform identity
- Code review searches for acceptance decisions based solely on signature validity, firmware versions, or software measurements
- Tests that submit otherwise valid reports generated by an unexpected but similarly configured TEE
- Review of nonce, session, endpoint, and channel-binding enforcement during attested TLS negotiation
- Policy checks requiring hardware identity and endorsement validation for all remote-attestation trust decisions
- Runtime monitoring for repeated, cross-endpoint, or unexpected attestation identities
Automated security review tools may help identify incomplete certificate and attestation validation logic, but verifier behavior should also be tested in an environment that models relay attacks.

