Improper Input Validation Affecting parse-server package, versions <4.1.0


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.07% (30th percentile)
Expand this section
NVD
5.3 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-PARSESERVER-559169
  • published 4 Mar 2020
  • disclosed 3 Mar 2020
  • credit Wolfwood

How to fix?

Upgrade parse-server to version 4.1.0 or higher.

Overview

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Improper Input Validation. It is possible to fetch all the users' objects, by using regex for sessionToken in the NoSQL query: {"_SessionToken":{"$regex":"r:027f"}}. In addition, it is possible to verify someone else's account by simply using regex in the token param: http://localhost:1337/parse/apps/kickbox/verify_email?token[$regex]=a&username=some@email.com.