# vuln-scan 第二轮（续跑）成果清单 — reports.megafitmeals.com / [ip] (asset_id=3)

## 已确认漏洞（落库）
| id | 严重级 | 标题 | 关键证据 |
|----|--------|------|----------|
| 1 | high | `.git/` 全量暴露 → 仓库地址 + index 32,064 文件 + 部署主机名 + git 跟踪的明文管理员凭据 | `/.git/config` 389B；`/.git/index` 5,035,072B；`/.git/logs/HEAD` → [deploy-host]；`/cypress/fixtures/adminCredential.json` → `{"username":"[admin-user]","password":"[admin-pass]"}` |
| 2 | high | `/database.sql` 公开下载 77.88MB / 186 表 / megafit 库 | wp_users 14 行 phpass；wc api key `ck_ed17badb…:cs_cc65086a…`；Stripe `pm_1Oo5ZY…` 4 个；wp_options auth_key |
| 3 | medium | REST 用户枚举 17 账号 + `is_super_admin` 超管标记 | `/wp-json/wp/v2/users` X-WP-Total 17；posts 81 / pages 51 / media 1108 匿名可读 |
| 4 | high | 自研 `[login-action]` 无 nonce、绕过 wp-login 限流（12 次无锁定）+ 用户名 oracle | 正负对照：`is incorrect` vs `is not registered`；wp-login 8 次后 `blocked` |
| 5 | low | Store API 匿名 nonce 下发 → checkout-draft 建单 1426973 + cart 写入 + 券码 oracle（MEGAFIT10 有效） | 各支付网关均 400 not available，无法零元建单 |
| 6 | medium | 自研 `update_subscription_from_cart` 无 nonce 匿名建订阅对象（1426974→1426979）；非法 id → 500 | 待二分 SQLi/IDOR |
| 7 | low | `wp-content/debug.log` 匿名可读 → `/var/www/html/reports.megafitmeals` 绝对路径 + 插件栈 | 12,215B |
| 8 | low | Apache 目录列表开放：`wp-content/plugins` 全部可列（8 个自研插件文件名/大小/时间） | — |

## 已排除（不算漏洞）
- `/wp-json/wc/v3/*`、`wc/v1`、`wc/v2`、`wc-admin/*`、`wc/private` 全部 401 → WC 网关鉴权正常
- `wp-config.php.bak/.old/.swp/~/.txt`、`.env`、`backup.zip/sql`、`www.zip`、`server-status`、`phpinfo.php` → 全部软 404（基线 200/46754B）
- `wc-ajax=update_order_review` 缺 nonce → 403 `-1`（无 shipping 单价泄露）
- loyalty 插件 `redeem_mega_points` / `process_user_enrollment` / `save_phone_number` / `send_referral_code` 无 nonce 回 400（需 nonce）
- `.git/info/refs`、`objects/info/packs` → 软 404（仅 dumb-http 静态文件可取，无 pack）
- leaked `[admin-pass]` 对线上 wp-login 401、leaked wc api key 对线上 401（均已轮换/未复用）

## 未完成（出口断链）
FTP 21 匿名/弱口令、SSH 22 弱口令、raft 字典剩余、nuclei CVE 全量、update_subscription_from_cart 的 500 二分

## 文件
- runs/wp2/{git-config.txt,git-logs-HEAD.txt,git-packed-refs.txt,adminCredential.json,customerCredentials.json,debug.log,users.json,hdr-cart.txt,checkout-draft.json}
- VPS /root/wp2/{sql/database.sql, gitdump/filelist.txt, mwc/*.js, src/*.js, evidence/*}
- 攻击文件: attack-files/[ip]/git-dump-recover.sh
