p PatchFirst

CVE-2026-58271

CVE-2026-58271 · @sync-in/server vulnerable to TOTP Brute-Force via `POST /api/app/sync/register`

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 6.8 · Moyenne · EPSS 0,2% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • server

    Versions du logiciel
    • < 2.4.0: Concernée

    Aucun correctif publié

  • @sync-in/server npm

    Plages de versions concernées
    • SEMVER: < 2.4.0

    Mettez à jour vers 2.4.0

Sources originales

Vérifiez votre serveur →