漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Craft CMS: Blind SSRF and Arbitrary JavaScript Injection via Host Header Poisoning in actionResourceJs
Vulnerability Description
Craft CMS is a content management system (CMS). Versions 4.0.0-RC1 and above, prior to 4.18.0 and 5.0.0-RC1, and above, prior to 5.10.0, are vulnerable to Server-Side Request Forgery (SSRF) and Arbitrary JavaScript Injection through the /actions/app/resource-js endpoint. By exploiting the default permissive trustedHosts configuration, an attacker can poison the Host or X-Forwarded-Host header to manipulate the application’s $baseUrl. This bypasses the endpoint’s internal URL validation, forcing the backend Guzzle client to fetch a malicious payload from an attacker-controlled server and reflect it to the client with a Content-Type: application/javascript header. The vulnerability manifests when assetManager.cacheSourcePaths is set to false. This issue has been fixed in versions 4.18.0 and 5.10.0.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
服务端请求伪造(SSRF)
Vulnerability Title
Craft CMS 跨站脚本漏洞
Vulnerability Description
CraftCMS cms是CraftCMS的内容管理系统。 Craft CMS 4.0.0-RC1版本至4.18.0之前版本和5.0.0-RC1版本至5.10.0之前版本存在安全漏洞,该漏洞源于通过/actions/app/resource-js端点利用默认宽松的trustedHosts配置,攻击者可操纵Host或X-Forwarded-Host标头篡改应用程序的$baseUrl,绕过端点内部URL验证,导致服务端请求伪造和任意JavaScript注入。
CVSS Information
N/A
Vulnerability Type
N/A