Summary
CVE-2024-58405 is an improper authorization vulnerability in Zipline, the self-hosted file upload and sharing server. In Zipline through 3.7.9, the /api/auth/register endpoint does not enforce invite codes when both invites and user registration are enabled. An unauthenticated remote attacker can create accounts. The severity is High.
Technical details
- Root cause: the
/api/auth/registerendpoint validates invite codes only when user registration is disabled. The/api/checkendpoint does reject requests that have no code. - Trigger conditions: both
FEATURES_USER_REGISTRATION=trueandFEATURES_INVITES=trueare set. - Attack vector: network. The attacker sends a POST request directly to
/api/auth/registerwith only a username and password, with no invite code. No authentication or user interaction is required. - Impact: unauthorized account creation. The new account can view server statistics and upload files, which can exhaust storage. The record rates availability impact as high.
Affected software
- Zipline (diced) through 3.7.9, with both invites and user registration enabled.
Severity
- CVSS v3.1 base score 8.6 (High):
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H - CVSS v4.0 base score 8.8 (High):
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: the vendor advisory lists no patched version. Check the Zipline repository for a release that fixes this issue and upgrade to it when one is available.
- Workaround: set
FEATURES_INVITES=trueandFEATURES_USER_REGISTRATION=false. Registration then requires a valid invite. - Review the user list for unexpected accounts and review storage usage for unexpected uploads.

