| Название | 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) |
|---|
| Представление | 01.11.2026 15:50 (26 дни назад) |
|---|
| Модерация | 27.11.2026 20:18 (26 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 444985 [TencentCloud Octop до 1.0.3b7 Setup Wizard setup.py _enforce_wizard_token_phase слабая аутентификация] |
|---|
| Баллы | 20 |
|---|