原始描述
SeaweedFS before 4.30 reflects the callback query parameter verbatim into responses served with Content-Type application/javascript in the shared writeJson helper (weed/server/common.go), with no callback-name validation, no X-Content-Type-Options: nosniff header, and no CORS allow-list. Every JSON endpoint that uses writeJson - including the unauthenticated master endpoints /dir/status, /dir/lookup and /cluster/status, the volume server /status, and the filer directory listing, all reachable in the default configuration (no -whiteList, no security.toml, bound to 0.0.0.0) - can therefore be loaded cross-origin via a script tag with a chosen callback, letting a third-party web page read cluster topology, volume server URLs and gRPC ports, file identifiers, and directory listings. Because the callback string is reflected at the start of the body and no nosniff header is sent, MIME-sniffing clients may also interpret the reflected content as HTML.
受影响的软件
- SeaweedFS < 4.30 修复版本: 4.30 仓库或软件包匹配
详情
- 发布日期
- 2026-07-01
- 最后修改
- 2026-11-08
- CVSS 向量
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N- CWE
- CWE-79
- EPSS(30 天内被利用概率)
- 0.33% (百分位 27)
参考资料
- cve.org/CVE-2026-58371
- nvd.nist.gov/vuln/detail/CVE-2026-58371
- github.com/seaweedfs/seaweedfs/releases/tag/4.30
- github.com/seaweedfs/seaweedfs/pull/9686
- github.com/seaweedfs/seaweedfs/commit/77dcb20a7485074d37340985d53103f94538abe6
- github.com/geo-chen/oss/blob/main/seaweedfs.md
- www.vulncheck.com/advisories/seaweedfs-cross-origin-information-disclosure-via-unvalidated...
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。