CVE-2022-28923: Caddy 2.4.6 - Open Redirect
- Template: CVE-2022-28923
- Name: Caddy 2.4.6 - Open Redirect
- Description: 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.
- Impact: Successful exploitation of this vulnerability could lead to phishing attacks, credential theft,.
- Remediation: Upgrade Caddy to version 2.4.7 or later to mitigate the vulnerability.
- Severity: medium
- Authors: Sascha Brendel, DhiyaneshDk
- Tags: cve, cve2022, redirect, caddy, webserver, caddyserver, vuln
- References: 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, https://nvd.nist.gov/vuln/detail/CVE-2022-28923, https://github.com/ARPSyndicate/cvemon
- Cves: CVE-2022-28923
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-28923.yaml
- Digest: 4b0a004830460221009f8d49647816afa480f7d08e6818c88b5ba6deebf3db60c45e4940880a924407022100a623d2f3faba6341e14692a5fb6270280e51acf37d8dccee6921c2c212d6fac0
- Created at: 2023-02-14T18:17:01Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1379
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-28923.yaml
Classification
- Cwe: CWE-601
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01446
- Epss percentile: 0.73973
- Cpe: cpe:2.3:a:caddyserver:caddy:2.4.6:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: caddy
- Shodan-query: Server: caddy, server: caddy
- Vendor: caddyserver
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| caddyserver:caddy | yes | /v1/products/caddyserver/caddy |
Labels
- Name: Caddy - Open Redirect
- Impact: Attackers can redirect users to malicious sites, potentially leading to phishing, data theft, or unauthorized operations.
- Remediation: Update to the latest version of Caddy or apply security patches addressing open redirect issues.
- Vulnerability type: open_redirect
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2022-28923
- Checked, none or zero: vulnerability impact
- Not known: requirements
```yaml
id: CVE-2022-28923
info:
name: Caddy 2.4.6 - Open Redirect
author: Sascha Brendel,DhiyaneshDk
severity: medium
description: |
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.
impact: |
Successful exploitation of this vulnerability could lead to phishing attacks, credential theft,.
remediation: |
Upgrade Caddy to version 2.4.7 or later to mitigate the vulnerability.
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
- https://nvd.nist.gov/vuln/detail/CVE-2022-28923
- https://github.com/ARPSyndicate/cvemon
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
epss-score: 0.01446
epss-percentile: 0.73973
cpe: cpe:2.3:a:caddyserver:caddy:2.4.6:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: caddyserver
product: caddy
shodan-query:
- 'Server: caddy'
- "server: caddy"
tags: cve,cve2022,redirect,caddy,webserver,caddyserver,vuln
http:
- 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
digest: 4b0a004830460221009f8d49647816afa480f7d08e6818c88b5ba6deebf3db60c45e4940880a924407022100a623d2f3faba6341e14692a5fb6270280e51acf37d8dccee6921c2c212d6fac0:922c64590222798bb761d5b6d8e72950
```