Link Preview JS 用于提取网页链接信息。在版本 4.0.4 之前,index.ts 中的 resolveDNSHost 缓解机制仅对一个已解析的 IP 地址进行验证,但随后却使用原始主机名发起请求。攻击者可以操控 DNS 服务器,在验证阶段返回一个公网 IP 地址,而在最终连接阶段返回环回地址或内网地址。这种 DNS 重绑定(DNS rebinding)漏洞绕过了 SSRF(服务端请求伪造)防护,导致服务端预览抓取可能访问到内部 HTTP 资源。重定向处理也存在类似的“验证与请求不匹配”的问题。该问题
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| OP-Engineering | link-preview-js | < 4.0.4 |
affected |
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.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| OP-Engineering | link-preview-js | < 4.0.4 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No comments yet