Impact
A NoSQL injection vulnerability allows an unauthenticated attacker to inject MongoDB query operators via the token field in the password reset and email verification resend endpoints. The token value is passed to database queries without type validation and can be used to extract password reset and email verification tokens.
Any Parse Server deployment using MongoDB with email verification or password reset enabled is affected. When emailVerifyTokenReuseIfValid is configured, the email verification token can be fully extracted and used to verify a user's email address without inbox access.
Patches
Patches
The vulnerability is fixed by adding input type validation at the endpoint level.
Workarounds
There is no known workaround.
References
Impact
A NoSQL injection vulnerability allows an unauthenticated attacker to inject MongoDB query operators via the
tokenfield in the password reset and email verification resend endpoints. Thetokenvalue is passed to database queries without type validation and can be used to extract password reset and email verification tokens.Any Parse Server deployment using MongoDB with email verification or password reset enabled is affected. When
emailVerifyTokenReuseIfValidis configured, the email verification token can be fully extracted and used to verify a user's email address without inbox access.Patches
Patches
The vulnerability is fixed by adding input type validation at the endpoint level.
Workarounds
There is no known workaround.
References