8.7high
Parse Server is vulnerable to authentication bypass via spoofing
- Severity
- 8.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.69% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vm5r-c87r-pf6xBIT-PARSE-2023-22474
Description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Parse Server uses the request header `x-forwarded-for` to determine the client IP address. If Parse Server doesn't run behind a proxy server, then a client can set this header and Parse Server will trust the value of the header. The incorrect client IP address will be used by various features in Parse Server. This allows to circumvent the security mechanism of the Parse Server option `masterKeyIps` by setting an allowed IP address as the `x-forwarded-for` header value. This issue has been patched in version 5.4.1. The mechanism to determine the client IP address has been rewritten. The correct IP address determination now requires to set the Parse Server option `trustProxy`.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| parse-community parse-server | < 5.4.1 | CVE List |
| parseplatform parse_server | before 5.4.1 | CVE List |
| parse-server (npm) | before 5.4.1 | GitHub Advisory Database |
| parseplatform parse-server | before 5.4.1 | NVD |
| parse (Bitnami) | before 5.4.1 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| GitHub | 8.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Parse Server uses the request header `x-forwarded-for` to determine the client IP address. If Parse Server doesn't run behind a proxy server, then a client can set this header and Parse Server will trust the value of the header. The incorrect client IP address will be used by various features in Parse Server. This allows to circumvent the security mechanism of the Parse Server option `masterKeyIps` by setting an allowed IP address as the `x-forwarded-for` header value. This issue has been patched in version 5.4.1. The mechanism to determine the client IP address has been rewritten. The correct IP address determination now requires to set the Parse Server option `trustProxy`.
GitHub Advisory Database
Impact
Parse Server uses the request header x-forwarded-for to determine the client IP address. If Parse Server doesn't run behind a proxy server, then a client can set this header and Parse Server will trust the value of the header. The incorrect client IP address will be used by various features in Parse Server. This allows to circumvent the security mechanism of the Parse Server option masterKeyIps by setting an allowed IP address as the x-forwarded-for header value.
Patches
The mechanism to determine the client IP address has been rewritten. The correct IP address determination now requires to set the Parse Server option trustProxy accordingly, see the express framework's trust proxy setting.
References
References
| https://github.com/parse-community/parse-server/security/advisories/GHSA-vm5r-c87r-pf6x | advisory, third-party-advisory, web | |
| https://github.com/parse-community/parse-server/commit/e016d813e083ce6828f9abce245d15b681a224d8 | advisory, patch, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20230309-0005/ | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-22474 | advisory, web | |
| https://github.com/parse-community/parse-server | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-22474 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vm5r-c87r-pf6x changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2023-22474 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-PARSE-2023-22474 changed 2026-09-08 | Apache-2.0 |