Advisory

GHSA-xprv-wvh7-qqqx

Also known as: BIT-parse-2022-41878, CVE-2022-41878

Summary

Parse Server vulnerable to Prototype Pollution via Cloud Code Webhooks or Cloud Code Triggers

Details

Impact

Keywords that are specified in the Parse Server option requestKeywordDenylist can be injected via Cloud Code Webhooks or Triggers. This will result in the keyword being saved to the database, bypassing the requestKeywordDenylist option.

Patches

Improved keyword detection.

Workarounds

Configure your firewall to only allow trusted servers to make request to the Parse Server Cloud Code Webhooks API, or block the API completely if you are not using the feature.

Collaborators

Mikhail Shcherbakov, Cristian-Alexandru Staicu and Musard Balliu working with Trend Micro Zero Day Initiative

References

  • https://github.com/parse-community/parse-server/security/advisories/GHSA-xprv-wvh7-qqqx

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-11-09 20:47 UTC
Modified
2023-12-06 01:02 UTC

Affected packages and fixes

parse-server

npm · All systems

Affected

  • introduced 0, fixed 4.10.19 (semver)

Fixed versions

4.10.19

Fix

parse-server

npm · All systems

Affected

  • introduced 5.0.0, fixed 5.3.2 (semver)

Fixed versions

5.3.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences