ghsa-7pr3-p5fm-8r9x
Vulnerability from github
Published
2021-09-30 17:09
Modified
2021-09-30 16:43
Severity ?
VLAI Severity ?
Summary
LiveQuery publishes user session tokens in parse-server
Details
Impact
For regular (non-LiveQuery) queries, the session token is removed from the response, but for LiveQuery payloads it is currently not. If a user has a LiveQuery subscription on the Parse.User
class, all session tokens created during user sign-ups will be broadcast as part of the LiveQuery payload.
Patches
Remove session token from LiveQuery payload.
Workaround
Set user.acl(new Parse.ACL())
in a beforeSave trigger to make the user private already on sign-up.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "parse-server" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.10.4" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-41109" ], "database_specific": { "cwe_ids": [ "CWE-200" ], "github_reviewed": true, "github_reviewed_at": "2021-09-30T16:43:12Z", "nvd_published_at": "2021-09-30T15:15:00Z", "severity": "HIGH" }, "details": "### Impact\nFor regular (non-LiveQuery) queries, the session token is removed from the response, but for LiveQuery payloads it is currently not. If a user has a LiveQuery subscription on the `Parse.User` class, all session tokens created during user sign-ups will be broadcast as part of the LiveQuery payload.\n\n### Patches\nRemove session token from LiveQuery payload.\n\n### Workaround\nSet `user.acl(new Parse.ACL())` in a beforeSave trigger to make the user private already on sign-up.", "id": "GHSA-7pr3-p5fm-8r9x", "modified": "2021-09-30T16:43:12Z", "published": "2021-09-30T17:09:47Z", "references": [ { "type": "WEB", "url": "https://github.com/parse-community/parse-server/security/advisories/GHSA-7pr3-p5fm-8r9x" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41109" }, { "type": "WEB", "url": "https://github.com/parse-community/parse-server/commit/4ac4b7f71002ed4fbedbb901db1f6ed1e9ac5559" }, { "type": "PACKAGE", "url": "https://github.com/parse-community/parse-server" }, { "type": "WEB", "url": "https://github.com/parse-community/parse-server/releases/tag/4.10.4" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "type": "CVSS_V3" } ], "summary": "LiveQuery publishes user session tokens in parse-server" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…