Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
gorilla/csrf CSRF vulnerability due to broken Referer validation
Vulnerability Description
gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention middleware for Go web applications & services. Prior to 1.7.2, gorilla/csrf does not validate the Origin header against an allowlist. Its executes its validation of the Referer header for cross-origin requests only when it believes the request is being served over TLS. It determines this by inspecting the r.URL.Scheme value. However, this value is never populated for "server" requests per the Go spec, and so this check does not run in practice. This vulnerability allows an attacker who has gained XSS on a subdomain or top level domain to perform authenticated form submissions against gorilla/csrf protected targets that share the same top level domain. This vulnerability is fixed in 1.7.2.
CVSS Information
N/A
Vulnerability Type
跨站请求伪造(CSRF)
Vulnerability Title
csrf 跨站请求伪造漏洞
Vulnerability Description
csrf是Gorilla web toolkit开源的一个库,为Go web应用程序和服务提供跨站点请求伪造(csrf)预防中间件。 csrf 1.7.2之前版本存在跨站请求伪造漏洞,该漏洞源于未验证Origin头,可能导致跨站请求伪造攻击。
CVSS Information
N/A
Vulnerability Type
N/A