漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Hugo 0.91.0 through 0.165.0 Server-Side Request Forgery via security.http.urls Lacking Destination Address Validation
Vulnerability Description
Hugo's security.http.urls allowlist is the only control on outbound fetches made by resources.GetRemote, and it inspects the URL text alone. CheckAllowedHTTPURL in config/security/securityConfig.go applies the configured pattern list and then re-checks a canonicalised form of an integer, hex or octal IPv4 host, but it never resolves the hostname and never inspects the address the HTTP client actually connects to. The client constructed in resources/resource_factories/create/create.go installs no dial-time hook, so no check occurs at connection time either. A hostname that resolves to a loopback, private or cloud-metadata address therefore satisfies the policy, and the response body is embedded in the generated site. An attacker who can supply a URL through content, for example a front-matter field or a CMS field, can make the build fetch an internal endpoint and publish the response in the static output, so the build artifact itself carries the data out.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Vulnerability Type
服务端请求伪造(SSRF)
Vulnerability Title
Gohugoio Hugo 服务端请求伪造漏洞
Vulnerability Description
Gohugoio Hugo是Gohugoio团队开源的一款静态网站生成器。 Gohugoio Hugo 0.91.0版本至0.165.0版本存在服务端请求伪造漏洞,该漏洞源于安全HTTP URL允许列表仅检查URL文本而未解析主机名或检查实际连接地址,可能允许攻击者通过内容提供URL,导致构建获取内部端点并将响应发布到静态输出,造成信息泄露。
CVSS Information
N/A
Vulnerability Type
N/A