# CVE-2023-32315: Ignite Realtime Openfire Path Traversal

> Unauthenticated attackers can bypass authentication via path traversal in the setup environment to access restricted administrative pages in Openfire.

- **Severity:** High 8.6 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`)
- **Exploited in the wild:** Yes, since 24 Aug 2023 (CISA KEV)
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 26 May 2023
- **Updated:** 21 Oct 2025
- **Also known as:** BIT-openfire-2023-32315, GHSA-gw42-f939-fhvm

## What is CVE-2023-32315?

CVE-2023-32315 is a high-severity path traversal vulnerability in igniterealtime Openfire, published on 26 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Openfire is an XMPP server licensed under the Open Source Apache License. Openfire's administrative console, a web-based application, was found to be vulnerable to a path traversal attack via the setup environment. This permitted an unauthenticated user to use the unauthenticated Openfire Setup Environment in an already configured Openfire environment to access restricted pages in the Openfire Admin Console reserved for administrative users. This vulnerability affects all versions of Openfire that have been released since April 2015, starting with version 3.10.0. The problem has been patched in Openfire release 4.7.5 and 4.6.8, and further improvements will be included in the yet-to-be released first version on the 4.8 branch (which is expected to be version 4.8.0). Users are advised to upgrade. If an Openfire upgrade isn’t available for a specific release, or isn’t quickly actionable, users may see the linked github advisory (GHSA-gw42-f939-fhvm) for mitigation advice.

Weakness: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory)

## Which versions are affected by CVE-2023-32315?

5 open source packages ship an affected version, including org.igniterealtime.openfire:xmppserver and openfire. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.igniterealtime.openfire:xmppserver` | Maven | From 3.10.0 | 4.6.8 |
| `org.igniterealtime.openfire:xmppserver` | Maven | From 3.10.0 | 4.6.8 |
| `org.igniterealtime.openfire:xmppserver` | Maven | From 4.7.0 | 4.7.5 |
| `org.igniterealtime.openfire:xmppserver` | Maven | From 4.7.0 | 4.7.5 |
| `openfire` | Bitnami | From 3.10.0 | 4.6.8, 4.7.5 |

Products: Igniterealtime Openfire.

## How do I fix CVE-2023-32315?

Upgrade org.igniterealtime.openfire:xmppserver to a fixed version for your release line: 4.6.8 or 4.7.5. US federal agencies must fix it by 14 Sep 2023.

## Is CVE-2023-32315 being exploited?

Yes. Attackers have exploited CVE-2023-32315 in the wild since at least 24 Aug 2023.

Public exploit code:

- rce (github_poc): https://github.com/tangxiaofeng7/CVE-2023-32315-Openfire-Bypass
- Openfire Console Authentication Bypass Vulnerability with RCE plugin (github_poc): https://github.com/miko550/CVE-2023-32315
- Perform With Massive Openfire Unauthenticated Users (github_poc): https://github.com/Ap0dexMe0/CVE-2023-32315
- CVE-2023-32315-Openfire-Bypass (github_poc): https://github.com/izzz0/CVE-2023-32315-POC
- Tool for CVE-2023-32315 exploitation (github_poc): https://github.com/gibran-abdillah/CVE-2023-32315
- https://github.com/5rGJ5aCh5oCq5YW9/CVE-2023-32315exp (github_poc): https://github.com/5rGJ5aCh5oCq5YW9/CVE-2023-32315exp

## Other vulnerabilities in igniterealtime Openfire

- [CVE-2024-25421](https://insights.sbomify.com/CVE-2024-25421/): Ignite Realtime Openfire privilege escalation vulnerability (critical 9.8)
- [CVE-2021-45967](https://insights.sbomify.com/CVE-2021-45967/): Path traversal in n/a (critical 9.8)
- [CVE-2019-18394](https://insights.sbomify.com/CVE-2019-18394/): Ignite Realtime Openfire vulnerable to Server Side Request Forgery (critical 9.8)
- [CVE-2014-2741](https://insights.sbomify.com/CVE-2014-2741/): Ignite Realtime Openfire vulnerable to XMPPbomb attack (high 7.8)
- [CVE-2014-3451](https://insights.sbomify.com/CVE-2014-3451/): Security feature bypass in n/a (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-32315 and fix it if it is affected.

What it is: CVE-2023-32315 is a high-severity path traversal vulnerability in igniterealtime Openfire, published on 26 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: Yes. Attackers have exploited CVE-2023-32315 in the wild since at least 24 Aug 2023.

Affected packages and fixed versions:
- org.igniterealtime.openfire:xmppserver (Maven): affected from 3.10.0; fixed in 4.6.8
- org.igniterealtime.openfire:xmppserver (Maven): affected from 3.10.0; fixed in 4.6.8
- org.igniterealtime.openfire:xmppserver (Maven): affected from 4.7.0; fixed in 4.7.5
- org.igniterealtime.openfire:xmppserver (Maven): affected from 4.7.0; fixed in 4.7.5
- openfire (Bitnami): affected from 3.10.0; fixed in 4.6.8, 4.7.5

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-32315/ (Markdown: https://insights.sbomify.com/CVE-2023-32315/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-32315
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-32315
- OSV: https://osv.dev/vulnerability/CVE-2023-32315

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-32315/
Summaries are generated and may contain mistakes; the official description above is the record.
