/

/

Open redirect

Open redirect

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

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 and select the specific requests that need to be modified. It checks for a response code of 302 (redirect) and then checks if the location value in the response matches the specified conditions using different methods such as request payload, query parameter, or request headers.

Execute request

In the execute section, the template modifies the request by replacing the payload_location_key with the value obtained from the sample_response_headers.location. It modifies the query parameter, body parameter, and header of the request by appending the payload_location_value to the URL of the malicious domain (http://evil.com/?p=${payload_location_value}). The follow_redirect parameter is set to false to prevent automatic redirection.

Validation

The validation section checks the response code to ensure it is still 302 (redirect). It then checks the response headers to validate if the location header contains the domain "evil.com". If the conditions are met, the validation is successful, indicating that the open redirect vulnerability has been exploited successfully.

Frequently asked questions

What is the purpose of the "Open redirect" vulnerability test in this array

What is the purpose of the "Open redirect" vulnerability test in this array

What is the purpose of the "Open redirect" vulnerability test in this array

How does the test determine if the vulnerability exists

How does the test determine if the vulnerability exists

How does the test determine if the vulnerability exists

What actions are taken if the vulnerability is detected

What actions are taken if the vulnerability is detected

What actions are taken if the vulnerability is detected

How is the test validated

How is the test validated

How is the test validated

What is the severity level assigned to this vulnerability

What is the severity level assigned to this vulnerability

What is the severity level assigned to this vulnerability

What are some of the tags associated with this vulnerability

What are some of the tags associated with this vulnerability

What are some of the tags associated with this 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.