Enviar #1069100: TencentCloud Octop v1.0.3b1 Missing Authenticationinformación

TítuloTencentCloud Octop v1.0.3b1 Missing Authentication
DescripciónOctop 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
Fuente⚠️ https://github.com/TencentCloud/Octop/issues/2732
Usuario
 chenhuanlin (UID 100424)
Sumisión2026-11-01 15:50 (hace 26 días)
Moderación2026-11-27 20:18 (26 days later)
EstadoAceptado
Entrada de VulDB444985 [TencentCloud Octop hasta 1.0.3b7 Setup Wizard setup.py _enforce_wizard_token_phase autenticación débil]
Puntos20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!