Sårbarheter

CVE-2026-46415

Høy 8.2 CVSS 3.1

Beskrivelse

The Caddy Defender plugin is a middleware for Caddy that allows users to block or manipulate requests based on the client's IP address. Prior to version 0.10.1, Caddy Defender used `r.RemoteAddr` when evaluating whether a request should be blocked. `RemoteAddr` is the address of the immediate peer connected to Caddy. In deployments where Caddy is behind a trusted proxy, CDN, or load balancer, the immediate peer is usually the proxy, not the original client. Caddy resolves the original client address into its `client_ip` request variable after applying the configured `trusted_proxies` policy, but Defender did not use that value. As a result, clients from blocked IP ranges could bypass Defender when accessing Caddy through a trusted proxy whose own IP address was not blocked. This affects deployments that use Defender behind trusted proxies and expect it to enforce blocking based on the real client IP. The issue is fixed in version 0.10.1 by making Defender prefer Caddys resolved `client_ip` request variable when it is available. Defender falls back to `RemoteAddr` only when Caddy has not provided a resolved client IP. There is no complete workaround in affected Defender versions for deployments that rely on Caddy's trusted proxy client IP resolution. Until upgrading, affected users should enforce equivalent IP blocking at the trusted proxy, CDN, load balancer, firewall, or other edge layer before traffic reaches Caddy. Deployments where Caddy receives traffic directly from clients, without an intermediate trusted proxy, are not affected by this bypass.

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2026-07-20
Sist endret
2026-10-24
Tildelt av
security-advisories@github.com
CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Scoret av
security-advisories@github.com
Sannsynlighet for utnyttelse
0.2 % høyere enn 6 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ikke registrert hos kildene

Svakhetstype

  • CWE-284: Improper Access Control

    The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

  • CWE-348: Use of Less Trusted Source

    The product has two different sources of the same data or information, but it uses the source that has less support for verification, is less trusted, or is less resistant to attack.

Angrepsteknikker

Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.

  • T1014: Rootkit stealth
  • T1027.009: Embedded Payloads stealth
  • T1037: Boot or Logon Initialization Scripts persistence, privilege-escalation
  • T1080: Taint Shared Content lateral-movement
  • T1505.005: Terminal Services DLL persistence
  • T1542.003: Bootkit stealth, persistence
  • T1543: Create or Modify System Process persistence, privilege-escalation
  • T1543.001: Launch Agent persistence, privilege-escalation
  • T1543.003: Windows Service persistence, privilege-escalation
  • T1543.004: Launch Daemon persistence, privilege-escalation
  • T1546.001: Change Default File Association privilege-escalation, persistence
  • T1546.004: Unix Shell Configuration Modification privilege-escalation, persistence
  • T1546.008: Accessibility Features privilege-escalation, persistence
  • T1546.016: Installer Packages privilege-escalation, persistence
  • T1547: Boot or Logon Autostart Execution persistence, privilege-escalation
  • T1547.006: Kernel Modules and Extensions persistence, privilege-escalation
  • T1553.004: Install Root Certificate defense-impairment
  • T1556.006: Multi-Factor Authentication defense-impairment, persistence, credential-access
  • T1557.002: ARP Cache Poisoning credential-access, collection
  • T1574.011: Services Registry Permissions Weakness stealth, execution

Referanser

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter