5.4medium
Open Redirect in github.com/greenpau/caddy-security
- Severity
- 5.4medium CVSS:3.1 by snyk
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-8hp3-rmr7-xh88GO-2024-2560
Description
Versions of the package github.com/greenpau/caddy-security are vulnerable to Open Redirect via the redirect_url parameter. An attacker could perform a phishing attack and trick users into visiting a malicious website by crafting a convincing URL with this parameter. To exploit this vulnerability, the user must take an action, such as clicking on a portal button or using the browser’s back button, to trigger the redirection.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/greenpau/caddy-security | before * | CVE List |
| github.com/greenpau/caddy-security (Go) | up to 1.1.23, all versions | GitHub Advisory Database, Go Vulnerability Database |
| greenpau caddy-security | Not specified | NVD |
All scores
| snyk | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Versions of the package github.com/greenpau/caddy-security are vulnerable to Open Redirect via the redirect_url parameter. An attacker could perform a phishing attack and trick users into visiting a malicious website by crafting a convincing URL with this parameter. To exploit this vulnerability, the user must take an action, such as clicking on a portal button or using the browser’s back button, to trigger the redirection.
GitHub Advisory Database
All versions of the package github.com/greenpau/caddy-security are vulnerable to Open Redirect via the redirect_url parameter. An attacker could perform a phishing attack and trick users into visiting a malicious website by crafting a convincing URL with this parameter. To exploit this vulnerability, the user must take an action, such as clicking on a portal button or using the browser’s back button, to trigger the redirection.
Go Vulnerability Database
Open Redirect in github.com/greenpau/caddy-security
NVD (es)
Todas las versiones del paquete github.com/greenpau/caddy-security son vulnerables a Open Redirect a través del parámetro redirect_url. Un atacante podría realizar un ataque de phishing y engañar a los usuarios para que visiten un sitio web malicioso creando una URL convincente con este parámetro. Para aprovechar esta vulnerabilidad, el usuario debe realizar una acción, como hacer clic en un botón del portal o usar el botón atrás del navegador, para activar la redirección.
References
| https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249861 | third-party-advisory, web | |
| https://github.com/greenpau/caddy-security/issues/268 | issue-tracking, report, web | |
| https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/ | mitigation, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-21497 | advisory | |
| https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy | web | |
| https://github.com/advisories/GHSA-8hp3-rmr7-xh88 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21497 changed 2026-03-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8hp3-rmr7-xh88 changed 2026-03-04 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2560 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-21497 changed 2026-06-17 | Public domain |