CVE-2024-10125 Details
Description
The Amazon.ApplicationLoadBalancer.Identity.AspNetCore repo https://github.com/awslabs/aws-alb-identity-aspnetcore#validatetokensignature contains Middleware that can be used in conjunction with the Application Load Balancer (ALB) OpenId Connect integration and can be used in any ASP.NET https://dotnet.microsoft.com/apps/aspnet Core deployment scenario, including Fargate, EKS, ECS, EC2, and Lambda. In the JWT handling code, it performs signature validation but fails to validate the JWT issuer and signer identity. The signer omission, if combined with a scenario where the infrastructure owner allows internet traffic to the ALB targets (not a recommended configuration), can allow for JWT signing by an untrusted entity and an actor may be able to mimic valid OIDC-federated sessions to the ALB targets. 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.
A vulnerability exists in the Amazon Application Load Balancer (ALB) OpenID Connect middleware for ASP.NET Core. This issue arises because the middleware, while it correctly validates JWT signatures, fails to properly verify the JWT issuer and signer identity. This oversight can be exploited, particularly if the ALB is configured to accept internet traffic to its targets, allowing an untrusted entity to sign JWTs. As a result, an actor could impersonate valid OIDC-federated sessions to the ALB targets.
The repository has been deprecated and is no longer supported. As a best practice, ensure that ALB targets do not have public IP addresses and validate that the signer attribute in the JWT matches the ARN of the ALB being used.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2024CISA-ADP
Assessed Oct 22, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://aws.amazon.com/security/security-bulletins/AWS-2024-012/ | AMZN | AdvisoryBundleRemedyVendor |
| https://github.com/awslabs/aws-alb-identity-aspnetcore/security/advisories/GHSA-5gh5-cc5m-q244 | AMZN | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-290 | Authentication Bypass by Spoofing | AMZN |
Affected Products
| Product | Versions |
|---|---|
| Amazon.ApplicationLoadBalancer.Identity.AspNetCore | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | AMZN |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 14, 2025 | CVE Modified | AMZN |
| Oct 23, 2024 | CVE Modified | AMZN |
| Oct 22, 2024 | New CVE Received | AMZN |
Volerion