CVE-2024-10125: Amazon.ApplicationLoadBalancer.Identity.AspNetCore Middleware · Authentication Bypass by Spoofing
Affects Amazon.ApplicationLoadBalancer.Identity.AspNetCore MiddlewareSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium · end of life, no fix coming : replace or isolate Amazon.ApplicationLoadBalancer.Identity.AspNetCore Middleware; no fix will be released.
Data as of 22 Nov 2026, 21:13 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- None coming – the product is end of life
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
No fix will be released: Amazon.ApplicationLoadBalancer.Identity.AspNetCore Middleware is end of life. Replace it, or isolate it from untrusted networks until you can.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Amazon Amazon.ApplicationLoadBalancer.Identity.AspNetCore Middleware | Affected
| Fixed in– |
AI-suggested
- Immediately audit all AWS ALB configurations to ensure that targets (EC2, Fargate, EKS, ECS, Lambda) do not have public IP addresses or are not directly accessible from the internet.
- If public exposure is necessary, implement strict network controls such as AWS Security Groups, NACLs, and WAF rules to limit access only to trusted sources.
- Replace the deprecated Amazon.ApplicationLoadBalancer.Identity.AspNetCore middleware with supported, actively maintained alternatives that properly validate JWT issuer and signer attributes.
- For any forked or derivative versions of the middleware, implement explicit validation to ensure the JWT signer attribute matches the ARN of the ALB in use, preventing token spoofing.
- Employ runtime monitoring and anomaly detection to identify unusual authentication patterns or token usage.
- Conduct regular security reviews of identity federation and token validation logic in cloud-native applications.
- Educate development and operations teams on secure JWT handling and AWS best practices for ALB deployment.
- Consider implementing additional layers of authentication or authorization checks downstream of the ALB to mitigate risks from token spoofing.
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.