漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware
Vulnerability Description
go-chi/chi through 5.2.1 contains an IP spoofing vulnerability in the RealIP middleware (middleware/realip.go). The realIP() function reads client-controlled headers (True-Client-IP, X-Real-IP, and X-Forwarded-For) and overwrites r.RemoteAddr without verifying that the request originated from a trusted proxy. Attackers can supply arbitrary IP addresses in these headers to bypass IP-based access controls, evade rate limiting and geo-IP restrictions, and pollute audit logs. Fixed in 5.3.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Vulnerability Type
使用欺骗进行的认证绕过
Vulnerability Title
go-chi chi 授权问题漏洞
Vulnerability Description
go-chi chi是go-chi组织开源的一个轻量级、符合 Go 语言习惯且可组合的路由工具。 go-chi chi 5.2.1及之前版本存在授权问题漏洞,该漏洞源于RealIP中间件(middleware/realip.go)中的realIP()函数未验证请求是否来自受信任代理,读取客户端控制的True-Client-IP、X-Real-IP、X-Forwarded-For头信息并覆盖r.RemoteAddr,可能导致攻击者伪造IP地址绕过基于IP的访问控制、规避速率限制和地域限制,并污染审计日志。
CVSS Information
N/A
Vulnerability Type
N/A