Two Minor Cross-Tenant Vulnerabilities in AWS App Runner
Two undocumented AWS App Runner API actions accepted an arbitrary AWS account ID without verifying that the caller belonged to that account, allowing an attacker to retrieve VPC connector and observability configuration details from other tenants. The leaked information included security group IDs, subnet IDs, and ARNs.
Published on frichetten.com
This is part 2 in a series of blog posts about a research project I am conducting in my free time on undocumented AWS APIs and their security impacts.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The APIs lacked a check to ensure the caller's account ID matched the account ID parameter.
Impact
The vulnerabilities only leaked non-critical configuration information (security group IDs, subnet IDs, and ARNs) across tenant boundaries.
What the attacker needed
Knowledge of target AWS account ID; ability to call AWS App Runner APIs
The fix
AWS deployed fixes for both issues after being notified.
How it was found
- Discover the undocumented API action in the AWS App Runner service definition.
- Invoke the API with an account ID different from the caller's own account.
- Observe that the API returns VPC connector or observability configuration details for the specified account.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
In cloud services, each customer has a unique account ID. Some internal APIs let you ask for information about a specific account by passing that ID. Here, two such APIs did not check that the ID you passed matched your own account, so anyone could ask for another customer's details and get them back.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.