Benchmark your AI security readiness for 2027 → [Take the survey]

Benchmark your AI security readiness for 2027 → [Take the survey]

Benchmark your AI security readiness for 2027 → [Take the survey]

/

/

Sensitive AWS details exposed due to SSRF

Sensitive AWS details exposed due to SSRF

The endpoint appears to be vulnerable to Server Side Request Forgery attack. The original request was replayed by replacing the URI parameter with metadata endpoint provided by AWS. The application responded with 2XX success code and also gave out sensitive AWS information in response.

Server Side Request Forgery (SSRF)

How this template works

APIs Selection

The template uses API selection filters to specify the criteria for selecting APIs to test. In this case, the filters are based on the response code, where the code should be between 200 and 204 (inclusive), and the request payload or query parameter should contain the string "http".

Execute request

The template defines a single request to be executed. It modifies the query parameter and body parameter of the request by replacing the URL key with the metadata endpoint provided by AWS (http://169.254.169.254/latest/meta-data/local-ipv4).

Validation

The template specifies the validation criteria for the response. It checks that the response code is between 200 and 299 (inclusive) and that the response payload contains either "ami-id", "ami-launch-index", "ami-manifest-path", "block-device-mapping", or "instance-action". If the validation criteria are met, the SSRF vulnerability is considered to be present.

Frequently asked questions

What is the purpose of the SSRF_ON_AWS_META_ENDPOINT array in this test

How does the test identify if the endpoint is vulnerable to SSRF

What is the impact of successfully exploiting this vulnerability

What are the selection filters used to determine if the test should be executed

How does the test modify the request parameters

What are the validation criteria for a successful test execution

Loved by security teams!

Loved by security teams!

Product Hunt Badge

"We are absolutely thrilled with the testing feature of Akto. We have used it on our graphQL endpoints and it performs flawlessly identifying common API security issues. It's truly a game-changer and we highly recommend Akto to anyone looking to effortlessly secure their API endpoints. With a user-friendly interface, it's the perfect solution for anyone looking to embrace custom rules with context to reduce false positives."

Loom Company logo

Security team,

Loom

"We are absolutely thrilled with the testing feature of Akto. We have used it on our graphQL endpoints and it performs flawlessly identifying common API security issues. It's truly a game-changer and we highly recommend Akto to anyone looking to effortlessly secure their API endpoints. With a user-friendly interface, it's the perfect solution for anyone looking to embrace custom rules with context to reduce false positives."

Loom Company logo

Security team,

Loom

"The text editor in Akto is absolutely remarkable. Its user-friendly YAML format strikes the perfect balance between simplicity and power. With intuitive features like 'API selection filter', 'Execute', Validate' creating test rules becomes incredibly easy. Akto's test editor is a game-changer, enabling seamless creation of highly personalized and effective tests that could meet the needs of any modern day organization. "

Rippling Company logo

Security team,

Rippling