CVE-2026-58271
Beschrijving NL
Sync-in Server is een open-source platform voor het opslaan, delen, samenwerken en synchroniseren van bestanden. Voorafgaand aan versie 2.4.0 accepteert `POST /api/app/sync/register` inloggegevens en een TOTP-code om een desktop-synchronisatieclient te registreren. Op een mislukte TOTP roept `SyncClientsManager.register()` `updateAccesses(user, ip, false)` aan, die een bevriezingstak raakt die `passwordAttempts` ongewijzigd terugschrijft. De teller bereikt nooit `USER_MAX_PASSWORD_ATTEMPTS` (10) en de vergrendelingspoort gaat nooit open. Een succesvolle gok retourneert een `{clientId, clientToken}` -paar. Het token kan worden ingewisseld via `POST /api/app/sync/auth/cookie` voor een volledige JWT. Zolang de code geldig is, kan de aanvaller ook `POST /api/auth/2fa/disable` aanroepen om MFA permanent te verwijderen. Versie 2.4.0 lost het probleem op.
Origineel (Engels) tonen
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.