HTTPBin - Open Redirect
ID: httpbin-open-redirect
Severity: medium
Author: Adam Crosser
Tags: redirect,httpbin,oss
Description
Section titled “Description”HTTPBin contains an open redirect vulnerability. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
YAML Source
Section titled “YAML Source”id: httpbin-open-redirect
info: name: HTTPBin - Open Redirect author: Adam Crosser severity: medium description: HTTPBin contains an open redirect vulnerability. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations. reference: - https://github.com/postmanlabs/httpbin classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cwe-id: CWE-601 metadata: max-request: 1 shodan-query: - html:"https://github.com/requests/httpbin" - title:"httpbin.org" tags: redirect,httpbin,oss
http: - method: GET path: - "{{BaseURL}}/redirect-to?url=https%3A%2F%2Finteract.sh"
matchers-condition: and matchers: - type: dsl dsl: - 'location == "https://interact.sh"'
- type: status status: - 302# digest: 4b0a00483046022100ccc5e0f706a27b9016386c51b73716c403ac7552ee5f6cf0beafc7ec1581d130022100b85db83f92928addbaa17936d3b583acfffc07babb67cadf306c40d3edd4d06a:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/httpbin/httpbin-open-redirect.yaml"