id: CVE-2022-28923 info: name: Caddy 2.4.6 Open Redirect author: Sascha Brendel,DhiyaneshDk severity: medium description: | Caddy version 2.4.6 was discovered to contain an open redirection vulnerability which allows attackers to redirect users to phishing websites via crafted URLs. reference: - https://lednerb.de/en/publications/responsible-disclosure/caddy-open-redirect-vulnerability/ - https://www.cve.org/CVERecord?id=CVE-2022-28923 - https://github.com/caddyserver/caddy/issues/4502 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 cve-id: CVE-2022-28923 cwe-id: CWE-601 metadata: verified: "true" shodan-query: "Server: caddy" tags: cve,cve2022,redirect,caddy,webserver requests: - method: GET path: - '{{BaseURL}}/%5C%5Cinteract.sh/%252e%252e%252f' matchers: - type: regex part: header regex: - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1