{"id":"CVE-2024-21497","aliases":["CVE-2024-21497","GHSA-8hp3-rmr7-xh88","GO-2024-2560"],"related":[],"kind":"vulnerability","state":"published","title":"Open Redirect in github.com/greenpau/caddy-security","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Open Redirect in github.com/greenpau/caddy-security","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-02-17T05:00:04.298Z","modified":"2026-06-17T07:09:37.103Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"github.com/greenpau/caddy-security","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.1.23"}],"ecosystem":"Go","package":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","source":"go"},{"ranges":[],"vendor":"greenpau","product":"caddy-security","cpe":"cpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249861","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/greenpau/caddy-security/issues/268","tags":["issue-tracking","report","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","tags":["mitigation","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21497","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-8hp3-rmr7-xh88","tags":["advisory"],"sources":["go"]}],"credits":["Maciej Domanski","Travis Peters","David Pokora"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-15T17:51:00.960Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21497","url":"https://www.cve.org/CVERecord?id=CVE-2024-21497","licence":"CVE Terms of Use","modified":"2026-03-03T16:28:25.943Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8hp3-rmr7-xh88","url":"https://github.com/advisories/GHSA-8hp3-rmr7-xh88","licence":"CC-BY-4.0","modified":"2026-03-04T01:57:19.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2560","url":"https://pkg.go.dev/vuln/GO-2024-2560","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:11.659Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21497","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21497","licence":"Public domain","modified":"2026-06-17T07:09:37.103Z"}],"updatedAt":"2026-11-25T22:58:36.887Z","epss":{"score":0.00499,"percentile":0.44333,"date":"2026-12-01T12:00:22.000Z"}}