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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| igniterealtime | Openfire | >= 3.10.0, < 4.6.8, >= 4.7.0, < 4.7.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.20 | openfire | 4.7.5-r0 | — |
| Alpine v3.19 | openfire | 4.7.5-r0 | — |
| Alpine v3.18 | openfire | 4.7.5-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Openfire authentication bypass with RCE plugin
exploit/multi/http/openfire_auth_bypass_rce_cve_2023_32315
GitHub 12 repositories · most starred shown
-
tangxiaofeng7/CVE-2023-32315-Openfire-Bypass ★ 143 · Jun 14, 2023
rce
-
miko550/CVE-2023-32315 ★ 61 · Jun 18, 2023
Openfire Console Authentication Bypass Vulnerability with RCE plugin
-
Ap0dexMe0/CVE-2023-32315 ★ 7 · Jul 2, 2023
Perform With Massive Openfire Unauthenticated Users
-
izzz0/CVE-2023-32315-POC ★ 5 · Jul 7, 2023
CVE-2023-32315-Openfire-Bypass
-
gibran-abdillah/CVE-2023-32315 ★ 3 · Aug 31, 2023
Tool for CVE-2023-32315 exploitation
-
5rGJ5aCh5oCq5YW9/CVE-2023-32315exp ★ 2 · Jun 15, 2023
-
pulentoski/Explotacion-CVE-2023-32315-Openfire ★ 1 · Apr 14, 2025
-
asepsaepdin/CVE-2023-32315 ★ 0 · Jan 30, 2025
-
CN016/Openfire-RCE-CVE-2023-32315- ★ 0 · Oct 10, 2023
Openfire未授权到RCE(CVE-2023-32315)复现
-
ohnonoyesyes/CVE-2023-32315 ★ 0 · Jun 14, 2023
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Openfire Administration Console - Authentication Bypass http/cves/2023/CVE-2023-32315.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.igniterealtime.openfire:xmppserver | >= 3.10.0, < 4.6.8 | 4.6.8 | GHSA-gw42-f939-fhvm |
| Maven | org.igniterealtime.openfire:xmppserver | >= 4.7.0, < 4.7.5 | 4.7.5 | GHSA-gw42-f939-fhvm |