CVE-2024-8901 Lack of JWT issuer and signer validation
Attackers can bypass OIDC authentication by spoofing JWTs if ALB targets are publicly exposed, affecting users of the deprecated AWS ALB Route Directive Adapter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-8901?
CVE-2024-8901 is a medium-severity authentication bypass vulnerability in Amazon AWS ALB Route Directive Adapter For Istio, published on 21 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The AWS ALB Route Directive Adapter For Istio repo https://github.com/awslabs/aws-alb-route-directive-adapter-for-istio/tree/master provides an OIDC authentication mechanism that was integrated into the open source Kubeflow project. The adapter uses JWT for authentication, but lacks proper signer and issuer validation. In deployments of ALB that ignore security best practices, where ALB targets are directly exposed to internet traffic, an actor can provide a JWT signed by an untrusted entity in order to spoof OIDC-federated sessions and successfully bypass authentication.
The repository/package has been deprecated, is end of life, and is no longer supported. As a security best practice, ensure that your ELB targets (e.g. EC2 Instances, Fargate Tasks etc.) do not have public IP addresses. Ensure any forked or derivative code validate that the signer attribute in the JWT match the ARN of the Application Load Balancer that the service is configured to use.
Weakness: CWE-290
Which versions are affected by CVE-2024-8901?
1 open source package ship an affected version, including github.com/awslabs/aws-alb-route-directive-adapter-for-istio.
| Package | Affected | Fixed in |
|---|---|---|
github.com/awslabs/aws-alb-route-directive-adapter-for-istio Go | All versions | None |
How do I fix CVE-2024-8901?
Product is end of life, replace it.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2024-8901 being exploited?
There is no known exploitation of CVE-2024-8901 in the wild and no public exploit code.
Sources
Also known as GO-2024-3210.