VDB
EN
HIGH

GHSA-vgjh-hmwf-c588

Parse Server has a NoSQL injection via token type in password reset and email verification endpoints

상세

### 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

- GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-vgjh-hmwf-c588 - Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.5.2-alpha.1 - Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.14

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / parse-server
최초 영향 버전: 9.0.0 수정 버전: 9.5.2-alpha.1
수정 npm install parse-server@9.5.2-alpha.1
npm / parse-server
최초 영향 버전: 0 수정 버전: 8.6.14
수정 npm install parse-server@8.6.14

참고