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
N/A
Vulnerability Description
Terrascan v1.18.3 and prior are vulnerable to Server-Side Request Forgery (SSRF) via external URL resolution in uploaded IaC templates when running in server mode. When Terrascan parses uploaded ARM templates or CloudFormation templates, it resolves external URLs referenced within those templates via hashicorp/go-getter with all default detectors enabled, including FileDetector. An unauthenticated remote attacker can upload an ARM template containing a templateLink.uri or parametersLink.uri field, or a CloudFormation template containing an AWS::CloudFormation::Stack TemplateURL field, pointing to an attacker-controlled URL. Terrascan will fetch the attacker-controlled URL server-side. Unlike SSRF via the remote scan endpoint, file:// URLs are directly usable without requiring an X-Terraform-Get redirect, enabling local file read. This affects deployments running terrascan in server mode (terrascan server), which binds to 0.0.0.0 with no authentication. Note: Terrascan was archived in August 2023 and no patch will be released.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
服务端请求伪造(SSRF)
Vulnerability Title
terrascan 安全漏洞
Vulnerability Description
terrascan是Tenable开源的一个基础设施代码静态安全分析工具。 terrascan 1.18.3及之前版本存在安全漏洞,该漏洞源于上传的IaC模板中外部URL解析存在服务端请求伪造漏洞,当在服务器模式下运行时,未经身份验证的远程攻击者可上传包含templateLink.uri或parametersLink.uri字段的ARM模板或包含AWS::CloudFormation::Stack TemplateURL字段的CloudFormation模板,指向攻击者控制的URL,Terrascan会在
CVSS Information
N/A
Vulnerability Type
N/A