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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.07% (33rd percentile)

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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

5.3 medium