/
/
Sensitive localhost details exposed via replacing URI param with localhost/admin due to SSRF
Sensitive localhost details exposed via replacing URI param with localhost/admin 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 localhost/admin. The application responded with 2XX success code and also gave out admin-related details.
Server Side Request Forgery (SSRF)
How this template works
APIs Selection
The API selection filters in this template specify the conditions that the response code or request payload must meet in order for the vulnerability to be detected. In this case, the filters check if the response code is between 200 and 204 (inclusive) and if the request payload contains the string "http" in either the URL key or query parameter.
Execute request
The execute section of the template defines the actions to be performed during the execution phase. It specifies a single request to be made, where the query parameter and body parameter with the key "url_key" are modified to replace the value with "http://localhost/admin".
Validation
The validation section sets the criteria for validating the response received from the executed request. It checks if the response code is between 200 and 299 (inclusive) and if the response payload contains the string "admin". If both conditions are met, the vulnerability is considered to be present.
Frequently asked questions
Explore other tests
Sensitive files exposed due to SSRF
Port scanning with SSRF
Sensitive AWS details exposed via replacing url param with encoded url due to SSRF
Sensitive AWS details exposed due to SSRF
Sensitive AWS details exposed via replacing CSV param due to SSRF
Sensitive AWS details exposed via replacing file param due to SSRF
Sensitive AWS details exposed via replacing image param due to SSRF
Sensitive localhost details exposed via replacing URI param redirecting to localhost/admin due to SSRF
Sensitive localhost details exposed via replacing URI param to encoded localhost/admin due to SSRF
Sensitive AWS details exposed via replace PDF param due to SSRF
Sensitive AWS details exposed via replacing XML param due to SSRF