CVE-2023-22474

Parse Server is vulnerable to authentication bypass via spoofing

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`.

Category

8.7
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.06%
Third-Party Advisory github.com Third-Party Advisory github.com
Affected: parse-community parse-server
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-22474?
CVE-2023-22474 has been scored as a high severity vulnerability.
How to fix CVE-2023-22474?
To fix CVE-2023-22474, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-22474 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-22474 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-22474?
CVE-2023-22474 affects parse-community parse-server.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.