SecurityContext

CVE-2024-21499: github.com/greenpau/caddy-security - HTTP Header Injection

  • Cve: CVE-2024-21499
  • Name: github.com/greenpau/caddy-security - HTTP Header Injection
  • Description: All versions of the package github.com/greenpau/caddy-security are vulnerable to HTTP Header Injection via the X-Forwarded-Proto header due to redirecting to the injected protocol.Exploiting this vulnerability could lead to bypass of security mechanisms or confusion in handling TLS.
  • Impact: Attackers can bypass security controls or cause TLS misbehavior, potentially leading to man-in-the-middle attacks or session hijacking.
  • Remediation: Update to the latest version of github.com/greenpau/caddy-security that addresses this issue.
  • Vulnerability type: host_header_injection
  • Vulnerability impact: information_disclosure, man_in_the_middle
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Epss score: 0.00495
  • Epss percentile: 0.4334
  • Assignee: [email protected]
  • Published at: 2024-02-17T05:15:10Z
  • Age in days: 1011
  • Modified at: 2026-06-17T07:09:37Z
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-21499
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-644Improper Neutralization of HTTP Headers for Scripting Syntax
CWE-116Improper Encoding or Escaping of Output

References

Same in every row:

  • Source: nvd
UrlTags
https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/Third Party Advisory
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249863Third Party Advisory
https://github.com/greenpau/caddy-security/issues/270Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
greenpau:caddy-securityall versionsnonvd/v1/products/greenpau/caddy-security

Projects

RepositoryLink kindsIndexedUrl
greenpau/caddy-securityissuesyes/v1/repositories/greenpau/caddy-security

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts