1. Archivio CVE
  2. 2026
  3. CVE-2026-58271

CVE-2026-58271

6.8 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N 6.8 – Media

Descrizione

Sync-in Server is an open-source platform for file storage, sharing, collaboration, and syncing. Prior to version 2.4.0, `POST /api/app/sync/register` accepts credentials and a TOTP code to register a desktop sync client. On a failed TOTP, `SyncClientsManager.register()` calls `updateAccesses(user, ip, false)`, which hits a freeze branch that writes `passwordAttempts` back unchanged. The counter never reaches `USER_MAX_PASSWORD_ATTEMPTS` (10) and the lockout gate never fires. A successful guess returns a `{clientId, clientToken}` pair. The token can be exchanged via `POST /api/app/sync/auth/cookie` for a full JWT. While the code is valid, the attacker can also call `POST /api/auth/2fa/disable` to permanently remove MFA. Version 2.4.0 patches the issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
sync-in server < 2.4.0 –

Tipo di vulnerabilità

CWE-307 Tentativi di autenticazione eccessivi non limitati

Il prodotto non adotta misure sufficienti a impedire molti tentativi di accesso falliti in poco tempo, rendendo possibili gli attacchi a forza bruta sulle password.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Architettura e progettazione Common protection mechanisms include: Disconnecting the user after a small number of failed attempts Implementing a timeout Locking out a targeted account Requiring a computational task on the user's part.
Architettura e progettazione · Librerie o framework Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 741 CVE di tipo CWE-307, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org