| عنوان | 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 03:50 PM (26 أيام منذ) |
|---|
| الاعتدال | 27/11/2026 08:18 PM (26 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 444985 [TencentCloud Octop حتى 1.0.3b7 Setup Wizard setup.py _enforce_wizard_token_phase توثيق ضعيف] |
|---|
| النقاط | 20 |
|---|