Information disclosure in parse-server
cve-program · CVE-2020-5251
PublishedIn parser-server before version 4.1.0, you can fetch all the users objects, by using regex in the NoSQL query. Using the NoSQL, you can use a regex on sessionToken and find valid accounts this way.
Read the publisher's advisoryeuvd · EUVD-2020-0347
PublishedIn parser-server before version 4.1.0, you can fetch all the users objects, by using regex in the NoSQL query. Using the NoSQL, you can use a regex on sessionToken and find valid accounts this way.
Read the publisher's advisorynvd · CVE-2020-5251
PublishedIn parser-server before version 4.1.0, you can fetch all the users objects, by using regex in the NoSQL query. Using the NoSQL, you can use a regex on sessionToken and find valid accounts this way.
Read the publisher's advisoryosv · GHSA-h4mf-75hf-67w4
Published1. you can fetch all the users' objects, by using regex in the NoSQL query. Using the NoSQL, you can use a regex on sessionToken `("_SessionToken":{"$regex":"r:027f"}}` and find valid accounts this way. Using this method, it's possible to retrieve accounts without interaction from the users. GET /parse/users/me HTTP/1.1 ``` { "_ApplicationId": "appName", "_JavaScriptKey": "javascriptkey", "_ClientVersion": "js2.10.0", "_InstallationId": "ca713ee2-6e60-d023-a8fe-14e1bfb2f300", "_SessionToken": { "$regex": "r:5" } } ``` When trying it with an update query the same thing luckily doesn't seem to work: POST /parse/classes/_User/PPNk59jPPZ 2. There is another similar vulnerability in verify email and the request password reset. If you sign up with someone else's email address, you can simply use regex in the token param to verify the account: `http://localhost:1337/parse/apps/kickbox/verify_email?token[$regex]=a&[email protected]` The same thing can be done for reset password: `http://localhost:1337/parse/apps/kickbox/request_password_reset?token[$regex]=a&[email protected]` You may need to do it a few times with a different letter/number, but as long as the tokens contain the character it will succeed.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2020-5251 · CVE overview and exploitation status
cve-program · CVE-2020-5251
- https://github.com/parse-community/parse-server/security/advisories/GHSA-h4mf-75hf-67w4
- https://github.com/parse-community/parse-server/commit/3a3a5eee5ffa48da1352423312cb767de14de269
euvd · EUVD-2020-0347
- https://github.com/parse-community/parse-server/security/advisories/GHSA-h4mf-75hf-67w4
- https://github.com/parse-community/parse-server/commit/3a3a5eee5ffa48da1352423312cb767de14de269
nvd · CVE-2020-5251
- https://github.com/parse-community/parse-server/commit/3a3a5eee5ffa48da1352423312cb767de14de269
- https://github.com/parse-community/parse-server/security/advisories/GHSA-h4mf-75hf-67w4
osv · GHSA-h4mf-75hf-67w4
Related changes
Linked by CVE identifierNo related changes are available here.