Katalog CVE

CVE-2024-10125

Wysokie
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Repozytorium Amazon.ApplicationLoadBalancer.Identity.AspNetCore zawiera Middleware, który może być używany z integracją OpenId Connect w Application Load Balancer (ALB) w różnych scenariuszach wdrożeniowych ASP.NET Core. W kodzie obsługi JWT wykonywana jest walidacja podpisu, ale nie jest weryfikowany issuer i tożsamość podpisującego, co może prowadzić do wykorzystania przez nieufne podmioty.

Ocena ryzyka

Brak weryfikacji tożsamości podpisującego może umożliwić atakującym naśladowanie ważnych sesji OIDC, co stwarza poważne ryzyko dla bezpieczeństwa aplikacji korzystających z ALB. Dodatkowo, jeśli infrastruktura pozwala na ruch internetowy do celów ALB, ryzyko to wzrasta.

Rekomendacja

Zaleca się unikanie konfiguracji, która pozwala na ruch internetowy do celów ALB oraz migrację do wspieranych rozwiązań, ponieważ to repozytorium zostało wycofane i nie jest już wspierane.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

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 et

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS