ADVISORIES

GitHub Advisory Database

GHSA-wjqw-r9x4-j59v

Parse Server affected by empty authData bypassing credential requirement on signup

Details

Impact

A user can sign up without providing credentials by sending an empty authData object, bypassing the username and password requirement. This allows the creation of authenticated sessions without proper credentials, even when anonymous users are disabled.

Patches

The fix ensures that empty or non-actionable authData is treated the same as absent authData for the purpose of credential validation on new user creation. Username and password are now required when no valid auth provider data is present.

Workarounds

Use a Cloud Code beforeSave trigger on the _User class to reject signups where authData is empty and no username/password is provided.

Affected packages

EcosystemPackageAffected versions
npmparse-server
From 9.0.0 before 9.6.0-alpha.29 (fixed in 9.6.0-alpha.29)
npmparse-server
All versions before 8.6.49 (fixed in 8.6.49)

References