实现分层实体漏洞知识库与实体级完整度监控
这个提交包含在:
@@ -30,6 +30,9 @@ fixed_versions:
|
||||
- "5.13.2"
|
||||
- "9.1.1"
|
||||
- "4.16.19"
|
||||
entity_refs:
|
||||
- "astro:system:root-system"
|
||||
- "astro--project--astro:project:affected-component"
|
||||
secure_code_topics:
|
||||
- "authz-server-side-recheck"
|
||||
- "csp-trusted-types"
|
||||
@@ -58,12 +61,67 @@ primary_source: "https://github.com/withastro/astro/security/advisories/GHSA-xf8
|
||||
- 影响版本: `introduced=5.0.0-alpha.0, fixed<5.13.2, introduced=0, fixed<9.1.1, introduced=0, fixed<4.16.19`
|
||||
- 修复版本: `5.13.2, 9.1.1, 4.16.19`
|
||||
|
||||
## 对象与版本映射
|
||||
|
||||
- Advisory Scope: `package`
|
||||
- 影响对象: `astro`
|
||||
- Entity Refs: `astro, astro--project--astro`
|
||||
- 版本置信度: `high`
|
||||
- 版本缺口: `-`
|
||||
- 版本证据源: `https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749, https://nvd.nist.gov/vuln/detail/CVE-2025-55303, https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820, https://github.com/withastro/astro`
|
||||
|
||||
## 受控验证流程
|
||||
|
||||
- Workflow ID: `astro--CVE-2025-55303--workflow`
|
||||
- 漏洞家族: `xss`
|
||||
- 入口面: `web-ui-render-path`
|
||||
- 需要角色: `editor-or-admin`
|
||||
- 触发向量: 对 `xss` 家族入口投递最小化、可审计、可回滚的受控输入,比较修复前后差异。
|
||||
- 请求/页面入口: `/admin/editor, /preview, /rendered-content`
|
||||
- 输入形态: 受控 HTML/Markdown/富文本输入,观察渲染上下文是否失去编码或净化。
|
||||
- 预期不安全行为: 输入在目标上下文执行或被浏览器解释为主动内容。
|
||||
|
||||
## 其他来源
|
||||
|
||||
- https://nvd.nist.gov/vuln/detail/CVE-2025-55303
|
||||
- https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820
|
||||
- https://github.com/withastro/astro
|
||||
|
||||
## 证据点与补丁验证
|
||||
|
||||
### 服务端证据点
|
||||
|
||||
- 应用日志中的命中路径、鉴权决策和异常栈
|
||||
- 反向代理或边界层日志中的请求头、来源 IP 与路由决策
|
||||
|
||||
### 浏览器证据点
|
||||
|
||||
- 基线截图与攻击后截图的 DOM/视觉差异
|
||||
- console、network 与 response metadata 中的异常信号
|
||||
|
||||
### 数据库/文件系统证据点
|
||||
|
||||
- 数据库中新增/越权读取的测试数据
|
||||
- 文件系统中新增上传样本、缓存条目或越权读取痕迹
|
||||
|
||||
### 检测信号
|
||||
|
||||
- WAF / reverse proxy 异常日志、访问日志和告警
|
||||
- 应用审计日志中的权限错误、重定向异常、模板渲染或上传落盘事件
|
||||
|
||||
### 补丁验证步骤
|
||||
|
||||
- 确认目标版本从 `introduced=5.0.0-alpha.0, fixed<5.13.2, introduced=0, fixed<9.1.1, introduced=0, fixed<4.16.19` 升级或回移到 `5.13.2`。
|
||||
- 保留同一组受控输入,在修复前后分别执行并比对响应、日志与浏览器证据。
|
||||
- 确认修复后仅保留预期业务行为,不再触发越权、回显、异常渲染或错误请求。
|
||||
- 补充 `xss` 族自动化回归,避免同类路径在插件、主题或代理链中回归。
|
||||
|
||||
### 实验安全备注
|
||||
|
||||
- 只使用回环地址、哨兵目标、无害样本或可回滚测试数据。
|
||||
- 禁止造成持久破坏、越权下载真实数据或不可回滚 side effect。
|
||||
- 如需浏览器证据,保留 baseline / proof 两份快照以及 console / network 记录。
|
||||
|
||||
## 实验层
|
||||
|
||||
- 仅用于自有资产、测试环境或已明确授权目标。
|
||||
|
||||
在新工单中引用
屏蔽一个用户