Skip to content

AWS App Runner

AWS App Runner is an AWS service that allows you to easily run containers without managing the underlying infrastructure.

Property Value
Credentials delivery mechanism Served through link-local metadata service
Protection type URL path requires value from environment
Exploitation primitives Query arbitrary URL and Read environment variables

Extracting credentials

App Runner is based on Amazon ECS. The metadata service is available at 169.254.170.2, and the URL path to query is in the environment variable $AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.

curl http://169.254.170.2$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI

References