Submeter #805823: Janeczku Calibre-web V0.6.7-V0.6.26 IDOR in auth-token generation leading to account takeover / userinformação

TítuloJaneczku Calibre-web V0.6.7-V0.6.26 IDOR in auth-token generation leading to account takeover / user
DescriçãoAn Insecure Direct Object Reference (IDOR) vulnerability in janeczku/calibre-web allows an authenticated user to impersonate any other user on the platform. The endpoint /kobo_auth/generate_auth_token/<int:user_id> does not validate if the requester has administrative privileges or matches the targeted user_id. An attacker can generate a long-lived auth token for a victim and use it against the /kobo/<auth_token>/v1/initialization route. user_id is an integer that increments from 1, so it is easy to guess the administrator's user_id. Because the application calls login_user(user) based on the token owner within the requires_kobo_auth decorator, this leads to a complete session takeover and persistent impersonation of the victim.
Fonte⚠️ https://drive.google.com/drive/folders/1rosrcfxcHrQM7_GOiBwzY_GnCfXoFuVR?usp=drive_link
Utilizador
 JasperX (UID 97281)
Submissão15/04/2026 18h03 (há 2 meses)
Moderação03/05/2026 09h35 (18 days later)
EstadoAceite
Entrada VulDB360885 [janeczku Calibre-Web até 0.6.26 Endpoint cps/kobo_auth.py generate_auth_token user_id Elevação de Privilégios]
Pontos20

Do you need the next level of professionalism?

Upgrade your account now!