| 标题 | TencentCloud Octop v1.0.3b1 Missing Authentication |
|---|
| 描述 | Octop v1.0.3b1: _enforce_wizard_token_phase (src/octop/api/routers/setup.py:114, verified at tag v1.0.3b1) gates POST /api/setup/resume-wizard with user_manager.count() > 1, while the setup main flow uses count() != 0 (setup.py:107). On single-admin self-hosted deployments the user count stays at exactly 1 even long after setup is finished, so the endpoint (under the JWT-exempt /api/setup/ prefix) permanently issues valid wizard tokens to unauthenticated attackers without rate limiting. The token enables POST /api/setup/finish to write attacker-controlled base_url/api_key into the provider table and switch the global active model - every user's AI conversations are then redirected through the attacker's server (theft/injection, persistent) - plus unauthenticated SSRF via POST /api/setup/test-provider. Verified against the v1.0.3b1 tag: both criteria present at setup.py:107/114. Also affects master 890111b7. Reproduced on a live instance and publicly disclosed: https://github.com/TencentCloud/Octop/issues/2732 |
|---|
| 来源 | ⚠️ https://github.com/TencentCloud/Octop/issues/2732 |
|---|
| 用户 | chenhuanlin (UID 100424) |
|---|
| 提交 | 2026-11-01 15時50分 (26 日前) |
|---|
| 管理 | 2026-11-27 20時18分 (26 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 444985 [TencentCloud Octop 直到 1.0.3b7 Setup Wizard setup.py _enforce_wizard_token_phase 弱身份验证] |
|---|
| 积分 | 20 |
|---|