Horizon Alert
Summary of the vulnerability and why it matters
A development version of Eclipse aeriOS included an API Gateway component that improperly handled security settings for token validation. This could allow an attacker to compromise how security tokens are verified if they can intercept specific network communications. The issue has been addressed in subsequent development by enabling security checks by default.
- API Gateway token validation security flaw.
- Impacts external communication security.
- Confirm relevance and exposure.
Attack Path
How an attacker could exploit the issue
An attacker could compromise token validation by intercepting communication between the API Gateway and the KrakenD instance. By manipulating the JSON Web Key Set (JWKS) provided to KrakenD, an attacker could bypass security checks and gain unauthorized access. This scenario requires the attacker to be in a position to intercept network traffic destined for the API Gateway.
- Network traffic interception required.
- Malicious JWKS provided to KrakenD.
- Compromised token validation, leading to potential unauthorized access.
Live Threat
Current exploitation, exposure, and threat context
The KrakenD instance within the API Gateway component could be tricked into accepting invalid JSON Web Key Set (JWKS) information if an attacker can intercept communication. This could occur when the API Gateway retrieves the JWKS to validate bearer tokens, potentially allowing for compromised token validation.
- Token validation process
- Intercepting network communication
- Compromised token validation
Operational Fix
Recommended remediation, mitigation, and detection steps
Teams responsible for API gateway infrastructure and the Eclipse aeriOS development lifecycle should address this vulnerability. The initial step involves identifying all KrakenD instances within the API Gateway component, confirming their exposure, and assessing their criticality to business operations. Subsequently, a remediation plan should be developed based on the identified risk, which may involve coordinating with the Eclipse development team or implementing temporary mitigating controls if direct patching is not immediately feasible.
- API Gateway and Platform teams own resolution.
- Verify KrakenD JWKS TLS verification is enabled.
- Plan remediation based on verified exposure.