漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Server-side request forgery in Boruta OAuth request_uri and OpenID jwks_uri fetching
Vulnerability Description
Server-Side Request Forgery vulnerability in malach-it Boruta allows an unauthenticated remote attacker to cause the OAuth/OpenID authorization server to issue outbound HTTP requests to attacker-chosen URIs, including internal services and cloud metadata endpoints.
Three code paths fetch remote URIs supplied by the requester without sufficient validation of the target. Boruta.Oauth.Request.Base.fetch_unsigned_request/1 in lib/boruta/oauth/request/base.ex dereferences the OAuth request_uri parameter from the authorization request via Finch.build(:get, request_uri) |> Finch.request(OpenIDHttpClient). Boruta.Openid.parse_registration_params/2 in lib/boruta/openid.ex dereferences the jwks_uri supplied in an OpenID Connect dynamic client registration request. Boruta.Ecto.Clients.refresh_jwk_from_jwks_uri/1 in lib/boruta/adapters/ecto/clients.ex later refreshes the stored jwks_uri for an existing client. In all three paths the only validation is that the URI parses with a scheme (and one of the two request_uri clauses does not even restrict the scheme to http or https). The implementations do not require HTTPS, do not enforce a host or IP allowlist, do not reject loopback, private, link-local, or other non-public ranges after DNS resolution, do not cap response size, and do not constrain redirects. An attacker can therefore steer the server's HTTP client at arbitrary network targets reachable from the Boruta host.
This issue affects boruta: from 2.3.2 before 2.3.7.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Vulnerability Type
服务端请求伪造(SSRF)
Vulnerability Title
malach-it boruta 服务端请求伪造漏洞
Vulnerability Description
malach-it Boruta是malach-it组织开源的一个OAuth 2.0 和 OpenID Connect 提供程序的核心。 malach-it boruta 2.3.2版本至2.3.7之前版本存在服务端请求伪造漏洞,该漏洞源于多个代码路径获取请求者提供的远程URI时未充分验证目标,允许未经身份验证的远程攻击者造成OAuth/OpenID授权服务器向攻击者选择的URI发出出站HTTP请求,包括内部服务和云元数据端点。
CVSS Information
N/A
Vulnerability Type
N/A