New ‘ALBeast’ Misconfiguration Exposes Weakness in AWS Application Load Balancer

Share:

As many as 15,000 applications using Amazon Web Services’ (AWS) Application Load Balancer (ALB) for authentication are potentially susceptible to a configuration-based issue that could expose them to sidestep access controls and compromise applications.

That’s according to findings from Israeli cybersecurity company Miggo, which dubbed the problem ALBeast.

“This vulnerability allows attackers to directly access affected applications, particularly if they are exposed to the internet,” security researcher Liad Eliyahu said.

ALB is an Amazon service designed to route HTTP and HTTPS traffic to target applications based on the nature of the requests. It also allows users to “offload the authentication functionality” from their apps into the ALB.

“Application Load Balancer will securely authenticate users as they access cloud applications,” Amazon notes on its website.

“Application Load Balancer is seamlessly integrated with Amazon Cognito, which allows end users to authenticate through social identity providers such as Google, Facebook, and Amazon, and through enterprise identity providers such as Microsoft Active Directory via SAML or any OpenID Connect-compliant identity provider (IdP).”

The attack, at its core, involves a threat actor creating their own ALB instance with authentication configured in their account.

In the next step, the ALB is used to sign a token under their control and modify the ALB configuration by forging an authentic ALB-signed token with the identity of a victim, ultimately using it to access the target application, bypassing both authentication and authorization.

In other words, the idea is to have AWS sign the token as if it had actually originated from the victim system and use it to access the application, assuming that it’s either publicly accessible or the attacker already has access to it.

Following responsible disclosure in April 2024, Amazon has updated the authentication feature documentation and added a new code to validate the signer.

“To ensure security, you must verify the signature before doing any authorization based on the claims and validate that the signer field in the JWT header contains the expected Application Load Balancer ARN,” Amazon now explicitly states in its documentation.

“Also, as a security best practice we recommend you restrict your targets to only receive traffic from your Application Load Balancer. You can achieve this by configuring your targets’ security group to reference the load balancer’s security group ID.”

The disclosure comes as Acronis revealed how a Microsoft Exchange misconfiguration could open the door to email spoofing attacks, allowing threat actors to bypass DKIM, DMARC, and SPF protections and send malicious emails masquerading as trusted entities.

“If you didn’t lock down your Exchange Online organization to accept mail only from your third-party service, or if you didn’t enable enhanced filtering for connectors, anyone could send an email to you through ourcompany.protection.outlook.com or ourcompany.mail.protection.outlook.com, and DMARC (SPF and DKIM) verification will be skipped,” the company said.

Update

When reached for comment, an AWS spokesperson told The Hacker News that the issue is not a vulnerability and disputed Miggo’s characterization of the issue as a security bypass –

It is incorrect to call this an authentication and authorization bypass of AWS Application Load Balancer (ALB) or any other AWS service because the technique relies on a bad actor already having direct connectivity to a misconfigured customer application that does not authenticate requests. We recommend customers configure their applications to only accept requests from their ALB by using security groups and by following the ALB security best practices. A small fraction of a percent of AWS customers have applications potentially misconfigured in this way, significantly fewer than the researchers’ estimate. We have contacted each one of these customers directly to share best practices for configuring applications which use ALB.

Ravie Lakshmanan

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
3:22 am, Jul 1, 2025
weather icon 22°C
L: 21° | H: 23°
scattered clouds
Humidity: 76 %
Pressure: 1014 mb
Wind: 2 mph
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 26%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 4:47 am
Sunset: 9:20 pm
DailyHourly
Daily ForecastHourly Forecast
Today 10:00 pm
weather icon
21° | 23°°C 0 mm 0% 11 mph 76 % 1015 mb 0 mm/h
Tomorrow 10:00 pm
weather icon
19° | 24°°C 0.2 mm 20% 12 mph 76 % 1024 mb 0 mm/h
Thu Jul 03 10:00 pm
weather icon
14° | 26°°C 0 mm 0% 8 mph 52 % 1029 mb 0 mm/h
Fri Jul 04 10:00 pm
weather icon
16° | 29°°C 0 mm 0% 10 mph 48 % 1027 mb 0 mm/h
Sat Jul 05 10:00 pm
weather icon
17° | 22°°C 0.2 mm 20% 13 mph 81 % 1019 mb 0 mm/h
Today 4:00 am
weather icon
20° | 22°°C 0 mm 0% 2 mph 76 % 1014 mb 0 mm/h
Today 7:00 am
weather icon
22° | 22°°C 0 mm 0% 3 mph 72 % 1014 mb 0 mm/h
Today 10:00 am
weather icon
26° | 28°°C 0 mm 0% 2 mph 54 % 1014 mb 0 mm/h
Today 1:00 pm
weather icon
31° | 31°°C 0 mm 0% 7 mph 31 % 1013 mb 0 mm/h
Today 4:00 pm
weather icon
32° | 32°°C 0 mm 0% 9 mph 25 % 1012 mb 0 mm/h
Today 7:00 pm
weather icon
28° | 28°°C 0 mm 0% 11 mph 31 % 1013 mb 0 mm/h
Today 10:00 pm
weather icon
25° | 25°°C 0 mm 0% 8 mph 48 % 1015 mb 0 mm/h
Tomorrow 1:00 am
weather icon
22° | 22°°C 0 mm 0% 6 mph 65 % 1015 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€91,031.14
-1.20%
Ethereum(ETH)
€2,113.83
-0.76%
Tether(USDT)
€0.85
0.00%
XRP(XRP)
€1.89
1.47%
Solana(SOL)
€130.89
1.21%
USDC(USDC)
€0.85
0.00%
Dogecoin(DOGE)
€0.140152
-2.17%
Shiba Inu(SHIB)
€0.000009
-2.31%
Pepe(PEPE)
€0.000008
-3.81%
Scroll to Top