/

/

Open redirect subdomain whitelist

Open redirect subdomain whitelist

An attacker can construct a URL within the application that causes a redirection to an arbitrary external domain by leveraging subdomain whitelisting.

Security Misconfiguration (SM)

"Open redirection vulnerabilities arise when an application incorporates user-controllable data into the target of a redirection in an unsafe way. The ability to use an authentic application URL, targeting the correct domain and with a valid SSL certificate (if SSL is used), lends credibility to the phishing attack because many users, even if they verify these features, will not notice the subsequent redirection to a different domain"

"Open redirection vulnerabilities arise when an application incorporates user-controllable data into the target of a redirection in an unsafe way. The ability to use an authentic application URL, targeting the correct domain and with a valid SSL certificate (if SSL is used), lends credibility to the phishing attack because many users, even if they verify these features, will not notice the subsequent redirection to a different domain"

Impact of the vulnerability

Impact of the vulnerability

This behavior can be leveraged to facilitate phishing attacks against users of the application.

This behavior can be leveraged to facilitate phishing attacks against users of the application.

How this template works

APIs Selection

The API selection filters in this template are used to filter the responses based on specific criteria. In this case, the filters check for a response code of 302 (redirect) and extract the value of the "location" header from the response.

Execute request

The execute section of the template defines the actions to be performed on the request. It modifies the query parameter, body parameter, and header of the request by replacing the value of the "location" key with a malicious URL constructed using the extracted value from the response. It also disables following redirects.

Validation

The validation section checks the response code and response headers of the modified request. It ensures that the response code is still 302 (redirect) and that the "location" header contains either "evil.com". This validates that the modification was successful and the redirection is happening as intended.

Frequently asked questions

What is the purpose of the "Open redirect subdomain whitelist" test

What is the purpose of the "Open redirect subdomain whitelist" test

What is the purpose of the "Open redirect subdomain whitelist" test

How does an open redirection vulnerability occur

How does an open redirection vulnerability occur

How does an open redirection vulnerability occur

What is the impact of the "Open redirect subdomain whitelist" vulnerability

What is the impact of the "Open redirect subdomain whitelist" vulnerability

What is the impact of the "Open redirect subdomain whitelist" vulnerability

What category does the "Open redirect subdomain whitelist" vulnerability fall under

What category does the "Open redirect subdomain whitelist" vulnerability fall under

What category does the "Open redirect subdomain whitelist" vulnerability fall under

What are the severity and tags associated with the "Open redirect subdomain whitelist" vulnerability

What are the severity and tags associated with the "Open redirect subdomain whitelist" vulnerability

What are the severity and tags associated with the "Open redirect subdomain whitelist" vulnerability

How does the test modify the payload to exploit the vulnerability

How does the test modify the payload to exploit the vulnerability

How does the test modify the payload to exploit the vulnerability

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

"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

"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

"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

Suggest API security tests

Suggest API security tests

We're actively building the test library. Suggest a test! If we like your suggestion, you will see it in the library in few days.

We're actively building the test library. Suggest a test! If we like your suggestion, you will see it in the library in few days.