API Gateway Lambda Authorizer Bypass
CareBridge is a healthcare provider with a patient portal powered by an API. The records API is protected with an API Gateway Lambda authorizer, a small function that runs in front of the records endpoint and decides who can access records. You'll start the lab as an ordinary patient, find a weakness in the authorizer, and end the lab as an administrator able to read all records.
- 4 guided tasks
- Capture the flag

Scenario
CareBridge is a healthcare provider with a patient portal powered by an API. The records API is protected with an API Gateway Lambda authorizer, a small function that runs in front of the records endpoint and decides who can access records. You'll start the lab as an ordinary patient, find a weakness in the authorizer, and end the lab as an administrator able to read all records.
To start, you can familiarize yourself with the [diagram](#diagram), or you can head straight to the [web app](#app).
What you will learn
- Sign in to a patient portal and inspect how the records API authorizes each request
- Learn how the Lambda authorizer trusts a role sent in a client-controlled header
- Forge the admin role by changing that header and reach the administration console
- Capture the flag exposed by the admin role
API Gateway Lambda Authorizer Bypass
Free with a Cybr account.