CVE-2022-45921 FusionAuth vulnerable to directory traversal attack
Attackers can read arbitrary files on the server via path traversal in FusionAuth, exposing sensitive data readable by the application user.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-45921?
CVE-2022-45921 is a high-severity path traversal vulnerability in n/a, published on 28 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
FusionAuth before 1.41.3 allows a file outside of the application root to be viewed or retrieved using an HTTP request. To be specific, an attacker may be able to view or retrieve any file readable by the user running the FusionAuth process.
Weakness: CWE-22
Which versions are affected by CVE-2022-45921?
2 open source packages ship an affected version, including io.fusionauth:fusionauth-java-client. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
io.fusionauth:fusionauth-java-client Maven | From 1.37.0 | 1.41.3 |
io.fusionauth:fusionauth-java-client Maven | From 1.37.0 | 1.41.3 |
Products include Fusionauth Fusionauth.
How do I fix CVE-2022-45921?
Upgrade io.fusionauth:fusionauth-java-client to 1.41.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-45921 being exploited?
There is no known exploitation of CVE-2022-45921 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-rmcx-fg5w-x8j9.