2023-02-13 21:19:30 +00:00
id : CVE-2022-28923
2023-02-14 14:10:38 +00:00
2023-02-13 21:19:30 +00:00
info :
2023-03-07 21:35:13 +00:00
name : Caddy 2.4.6 - Open Redirect
2023-02-14 14:10:38 +00:00
author : Sascha Brendel,DhiyaneshDk
2023-02-13 21:19:30 +00:00
severity : medium
description : |
2023-03-07 21:35:13 +00:00
Caddy 2.4.6 contains an open redirect vulnerability. An attacker can redirect a user to a malicious site via a crafted URL and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade Caddy to version 2.4.7 or later to mitigate the vulnerability.
2023-02-14 14:10:38 +00:00
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
2023-03-07 21:35:13 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-28923
2023-02-13 21:19:30 +00:00
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
2023-10-14 11:27:55 +00:00
epss-score : 0.00541
2023-10-25 17:36:19 +00:00
epss-percentile : 0.74694
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:caddyserver:caddy:2.4.6:*:*:*:*:*:*:*
2023-02-14 14:10:38 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-15 16:29:17 +00:00
vendor : caddyserver
product : caddy
2023-09-06 11:59:08 +00:00
shodan-query: 'Server : caddy'
2023-02-13 21:19:30 +00:00
tags : cve,cve2022,redirect,caddy,webserver
2023-02-13 22:19:34 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-02-13 21:19:30 +00:00
- method : GET
path :
2023-02-14 14:15:55 +00:00
- '{{BaseURL}}/%5C%5Cinteract.sh/%252e%252e%252f'
2023-02-13 21:19:30 +00:00
2023-02-14 14:10:38 +00:00
matchers :
- type : regex
2023-02-13 21:19:30 +00:00
part : header
2023-02-14 14:10:38 +00:00
regex :
2023-03-10 20:24:54 +00:00
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1
2023-10-25 12:04:43 +00:00
# digest: 4b0a00483046022100ad3483e832893c050a0528501f421119bf5575d9b3ec60f7c06ed2cf7630d6c002210089e16ffbebcfa4289c4af1dc267f7d14480b06b30942bd7ed49a68c02cb97809:922c64590222798bb761d5b6d8e72950