更新: 21 个文件 - 2026-03-17 00:00:00
这个提交包含在:
@@ -1,5 +1,18 @@
|
||||
# 服务端错误配置实验
|
||||
|
||||
> `LAB NOTE` | `规划中`
|
||||
> `LAB ONLY` | `AUTHORIZED TARGETS ONLY`
|
||||
|
||||
该目录预留给默认目录列表、错误暴露、调试接口、代理信任链和配置合并问题的实验样例。当前相关内容分散在 [07-framework-security/server-software](/Users/x/websafe/07-framework-security/server-software/README.md) 与已有案例中。
|
||||
## 范围元数据
|
||||
|
||||
| 字段 | 内容 |
|
||||
|------|------|
|
||||
| 适用目标类型 | `lab-local`, `lab-public`, `authorized-third-party` |
|
||||
| 是否允许公网验证 | 允许,但必须限定为单站点最小化检查 |
|
||||
| 推荐最小化验证 | 仅访问常见调试、默认页面和健康检查路径 |
|
||||
| 禁止场景 | 大范围爆破目录、未授权管理面探测、影响业务可用性 |
|
||||
|
||||
## 当前内容
|
||||
|
||||
- 工具: [misconfig-lab.py](/Users/x/websafe/04-server-security/misconfiguration/tools/misconfig-lab.py)
|
||||
- 关联系统: [servers/README.md](/Users/x/websafe/07-framework-security/servers/README.md), [platforms/README.md](/Users/x/websafe/07-framework-security/platforms/README.md)
|
||||
- 修复主题: [proxy-trust-boundary](/Users/x/websafe/05-defense/secure-code/nodejs/proxy-trust-boundary.md), [path-traversal-guard](/Users/x/websafe/05-defense/secure-code/nodejs/path-traversal-guard.md)
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# 错误配置工具说明
|
||||
|
||||
> `LAB NOTE` | `规划中`
|
||||
> `LAB ONLY` | `AUTHORIZED TARGETS ONLY`
|
||||
|
||||
该目录后续用于默认配置、目录暴露、调试接口和信任边界误配的辅助检查脚本。
|
||||
## 工具
|
||||
|
||||
- [misconfig-lab.py](/Users/x/websafe/04-server-security/misconfiguration/tools/misconfig-lab.py)
|
||||
- 用途: 默认页面、调试接口、目录暴露、管理端口和危险头部的最小化验证
|
||||
- 目标范围: `lab-local`, `lab-public`, `authorized-third-party`
|
||||
- 允许公网验证: `yes`, 但必须限定到已授权单目标
|
||||
- 风险: 低,只做固定路径的 GET 检查
|
||||
- 不适用: 未授权站点目录枚举、批量互联网画像、DoS/高频探测
|
||||
|
||||
## 示例
|
||||
|
||||
```bash
|
||||
python3 /Users/x/websafe/04-server-security/misconfiguration/tools/misconfig-lab.py \
|
||||
--target http://127.0.0.1:18086/ \
|
||||
--ack-authorized \
|
||||
--format json \
|
||||
--evidence-dir /tmp/websafe-misconfig-evidence
|
||||
```
|
||||
|
||||
在新工单中引用
屏蔽一个用户