CVE-2023-22474
highpriority · track · 32EPSS 0.007 · 52 %ileEUUSEPSS · scored 2026-10-27
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`.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-vm5r-c87r-pf6xParse Server option `masterKeyIps` vulnerability to IP spoofing2023-01-31ghsa · osvUS
### 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](https://expressjs.com/en/guide/behind-proxies.html) setting. ### References - https://github.com/parse-community/parse-server/security/advisories/GHSA-vm5r-c87r-pf6x - https://expressjs.com/en/guide/behind-proxies.html
- BIT-parse-2023-22474Parse Server is vulnerable to authentication bypass via spoofing2024-03-06vendor · osvUS
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`.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-22474/cnnvd
- https://github.com/parse-community/parse-server/commit/e016d813e083ce6828f9abce245d15b681a224d8cnnvd
- https://github.com/parse-community/parse-server/security/advisories/GHSA-vm5r-c87r-pf6xcnnvd
- https://github.com/parse-community/parse-server/commit/e016d813e083ce6828f9abce245d15b681a224d8enisa_euvd
- https://github.com/parse-community/parse-server/security/advisories/GHSA-vm5r-c87r-pf6xenisa_euvd
- https://github.com/parse-community/parse-server/commit/e016d813e083ce6828f9abce245d15b681a224d8PatchThird Party Advisorynvd
- https://github.com/parse-community/parse-server/security/advisories/GHSA-vm5r-c87r-pf6xThird Party Advisorynvd
- https://security.netapp.com/advisory/ntap-20230309-0005/nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan