Описание
Echo is a Go web framework. From 4.0.0 until 5.1.0, Context.RealIP falls back to client-supplied X-Forwarded-For or X-Real-IP values when Echo.IPExtractor is unset, and the default RateLimiter uses that result as its client identifier. A remote attacker can rotate arbitrary forwarded-address values to obtain new rate-limit buckets and bypass IP-based throttling used for controls such as brute-force or request-volume protection. This issue is fixed in Echo v5.1.0.
A flaw was found in Echo. When an IP address extractor is not explicitly configured, the framework trusts client-supplied forwarded HTTP headers to determine the client's network address. A remote attacker can exploit this flaw by sending requests with rotating or spoofed IP header values. This allows the attacker to bypass IP-based rate limiting and request throttling, potentially enabling unconstrained brute-force and credential stuffing attacks against protected endpoints.
Отчет
This vulnerability is rated as Moderate because remote unauthenticated attackers can circumvent IP-based request throttling by supplying arbitrary forwarded headers, but it does not directly compromise data confidentiality, system integrity, or cause service disruption. In typical deployments where Echo-based services implement rate limiting without explicitly configuring a trusted IP extraction strategy, default behavior allows forged client address headers to allocate fresh rate-limit quotas. The blast radius is confined to secondary controls such as brute-force or volume throttling protections, requiring additional application-layer flaws to achieve deeper impact.
Ссылки на источники
Дополнительная информация
Статус:
EPSS
5.3 Medium
CVSS3
Связанные уязвимости
Echo is a Go web framework. From 4.0.0 until 5.1.0, Context.RealIP falls back to client-supplied X-Forwarded-For or X-Real-IP values when Echo.IPExtractor is unset, and the default RateLimiter uses that result as its client identifier. A remote attacker can rotate arbitrary forwarded-address values to obtain new rate-limit buckets and bypass IP-based throttling used for controls such as brute-force or request-volume protection. This issue is fixed in Echo v5.1.0.
Echo is a Go web framework. From 4.0.0 until 5.1.0, Context.RealIP falls back to client-supplied X-Forwarded-For or X-Real-IP values when Echo.IPExtractor is unset, and the default RateLimiter uses that result as its client identifier. A remote attacker can rotate arbitrary forwarded-address values to obtain new rate-limit buckets and bypass IP-based throttling used for controls such as brute-force or request-volume protection. This issue is fixed in Echo v5.1.0.
Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration
Echo is a Go web framework. From 4.0.0 until 5.1.0, Context.RealIP fal ...
Echo has Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration
EPSS
5.3 Medium
CVSS3