Skip to main content
Mallory
HighCISA KEVExploited in the wildPublic exploit

Openfire Admin Console Authentication Bypass via Setup Environment Path Traversal

IdentifiersCVE-2023-32315CWE-22· Improper Limitation of a Pathname…

CVE-2023-32315 is an authentication bypass vulnerability in the Openfire XMPP server administrative console. In already configured Openfire deployments, the unauthenticated Setup Environment remained reachable and was vulnerable to path traversal, allowing requests to traverse into restricted Admin Console resources that should be accessible only to authenticated administrative users. The issue affected Openfire versions начиная with 3.10.0 (released after April 2015). Supporting content indicates the flaw involved traversal handling gaps related to non-standard UTF-16 URL encoding combined with Openfire AuthCheck exclusion wildcard matching, enabling attacker-controlled requests to be treated as exempt from authentication while resolving to protected admin pages. The vendor states the vulnerability was fixed in Openfire 4.7.5 and 4.6.8, with additional hardening in the 4.8 branch.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A remote unauthenticated attacker can bypass Admin Console authentication and access restricted administrative pages in an already configured Openfire instance. This can expose sensitive administrative functionality and information. Supporting content also shows that, in practical exploitation chains, attackers have used the bypass to reach management features and upload a malicious plugin, resulting in follow-on remote command execution. Depending on enabled features and plugin state, compromise can therefore extend from unauthorized admin-console access to full server takeover.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict access to the Openfire Admin Console and Setup Environment using firewalls, ACLs, VPN-only exposure, reverse-proxy allowlists, or loopback-only binding. The advisory also recommends modifying plugins/admin/webapp/WEB-INF/web.xml to remove wildcard (*) characters from the AuthCheck excludes list and restarting Openfire, binding the admin console webserver to the loopback interface in conf/openfire.xml, and optionally deploying the AuthFilterSanitizer plugin. Because exploitation can lead to administrative access, operators should also inspect for unauthorized plugins, web artifacts, new accounts, and suspicious command execution.

Remediation

Patch, then assume compromise.

Upgrade Openfire to a fixed version: 4.6.8 or later on the 4.6 branch, 4.7.5 or later on the 4.7 branch, or 4.8.0+ when available/applicable. Where relevant, also update affected plugins called out in the advisory, including Random Avatar to 1.1.0+, Monitoring Service to 2.5.0+, and HTTP File Upload to 1.3.0+. After upgrading, verify that the Setup Environment is no longer reachable in configured deployments and review administrative access logs for signs of prior exploitation.
PUBLIC EXPLOITS

Exploits

8 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 8 / 8 TOTALView more in app
CVE-2023-32315-java7-MaturityPoCVerified exploit

This repository is a proof-of-concept exploit for CVE-2023-32315, targeting Ignite Realtime Openfire (notably version 4.6.4). The exploit process, as described in the README, involves obtaining session tokens (JSESSIONID and csrftoken), constructing a request to add a new user, compiling a malicious plugin (using Maven with the provided pom.xml), and uploading it to the Openfire server. Once the plugin is installed, it provides a webshell interface, allowing the attacker to execute arbitrary commands on the server. The repository contains a README with exploitation steps and a pom.xml for building the plugin, but does not include the actual plugin source code or the webshell implementation. The main attack vector is network-based, targeting the Openfire admin web interface. The only fingerprintable endpoints are the example Openfire server URL and the Maven repository for dependencies.

shiyingzhencaiDisclosed Dec 21, 2025xmlnetwork
Explotacion-CVE-2023-32315-OpenfireMaturityPoCVerified exploit

This repository contains a Python exploit script (CVE-2023-32315.py) and a README for CVE-2023-32315, a critical authentication bypass vulnerability in Openfire's web admin console. The exploit leverages a path traversal flaw in the setup wizard endpoints, allowing unauthenticated attackers to access setup pages and create a new admin user (hardcoded as 'pepe1'/'pepe1'). The script uses the HackRequests library to send crafted HTTP requests, first retrieving session cookies via a traversal to user-groups.jsp, then creating the user via user-create.jsp, and finally verifying the user via user-summary.jsp. The README provides background, setup, and usage instructions. The exploit is operational and enables full admin access to vulnerable Openfire servers, potentially leading to further compromise (e.g., uploading malicious plugins).

pulentoskiDisclosed Apr 14, 2025pythonmarkdownnetwork
CVE-2023-32315MaturityPoCVerified exploit

This repository provides a proof-of-concept exploit for CVE-2023-32315, a path traversal vulnerability in Ignite Realtime Openfire's administrative web console. The main exploit script (CVE-2023-32315.py) is written in Python and automates the process of exploiting the vulnerability by first retrieving a CSRF token from the target's /login.jsp endpoint, then using a crafted path traversal request to /setup/setup-s/%u002e%u002e/%u002e%u002e/user-create.jsp to create a new administrative user (username: 'hugme', password: 'HugmeNOW'). The script supports both single-target and mass exploitation modes. The included docker-compose.yaml file sets up a vulnerable Openfire instance for testing. The README.md provides background on the vulnerability, usage instructions, and references. The exploit is a functional PoC that grants administrative access to the attacker by creating a new admin account, but does not include weaponized or post-exploitation payloads.

asepsaepdinDisclosed Jan 30, 2025pythonyamlnetwork
CVE-2023-32315MaturityPoCVerified exploit

This repository contains a Python exploit for CVE-2023-32315, an authentication bypass vulnerability in Openfire's web management console (notably version 4.7.1). The main script, CVE-2023-32315.py, automates the process of exploiting the vulnerability by sending crafted HTTP requests to the Openfire setup endpoints. It first retrieves session cookies (JSESSIONID and csrf), then uses them to create a new administrative user via a specially crafted URL. Successful exploitation is logged to a local file (success.txt). The README provides setup and usage instructions, including how to use the new admin account to upload a malicious plugin for remote code execution. The exploit is operational and requires the attacker to have network access to the target's Openfire management interface. No detection-only scripts are present; the code is a working exploit.

miko550Disclosed Jun 18, 2023pythonnetwork
CVE-2023-32315MaturityPoCVerified exploit

This repository provides a Python exploit for CVE-2023-32315, an authentication bypass vulnerability in Ignite Realtime Openfire's administration console. The main file, CVE-2023-32315.py, is a standalone script that can target a single Openfire instance or scan multiple targets in bulk using multiprocessing. The exploit works by abusing a path traversal vulnerability in the setup endpoints to create a new admin user without prior authentication. It then attempts to log in with the newly created credentials and records successful attempts in a results file. The script requires Python 3 and several dependencies (BeautifulSoup, HackRequests, etc.), as listed in requirements.txt. The README provides clear usage instructions for both single and bulk exploitation. The exploit is operational, as it automates the full attack chain from user creation to login, and is not just a proof of concept. The main attack vector is network-based, targeting the Openfire admin web interface, and the script fingerprints endpoints such as '/setup/setup-s/%u002e%u002e/%u002e%u002e/user-create.jsp' and '/login.jsp'.

gibran-abdillahDisclosed Aug 31, 2023pythonnetwork
CVE-2023-32315-Openfire-BypassMaturityPoCVerified exploit

This repository provides a working exploit for CVE-2023-32315, a critical authentication bypass vulnerability in Ignite Realtime Openfire. The exploit consists of a Go script (scan_all/main.go) that automates the attack chain: it first retrieves the JSESSIONID and CSRF token from a vulnerable Openfire instance, then uses these to create a new admin user via a crafted HTTP request to the setup endpoints. The README details the steps to compile and install a malicious plugin (provided in Java under src/main/java/org/igniterealtime/openfire/exampleplugin/ExamplePlugin.java), which can be uploaded to the server to provide a webshell for remote command execution. The repository includes build files (pom.xml, plugin.xml, web.xml) for packaging the plugin. The exploit is operational, providing both user creation and remote command execution capabilities, and targets Openfire servers accessible over the network. The main attack vector is network-based, exploiting HTTP endpoints exposed by the Openfire admin interface.

tangxiaofeng7Disclosed Jun 14, 2023gojavanetwork
CVE-2023-32315MaturityPoCVerified exploit

This repository contains a Python exploit script (CVE-2023–32315.py) targeting Openfire servers vulnerable to CVE-2023-32315, an authentication bypass via path traversal in the setup environment. The exploit works by sending crafted HTTP requests to specific setup endpoints, bypassing authentication controls and allowing the creation of a new administrative user with randomly generated credentials. The script supports both single-target and mass exploitation modes (via a list of targets). Results of successful exploitation are saved to a local file. The repository also includes a README with usage instructions and a requirements.txt listing dependencies (HackRequests and colorama). The exploit is operational, providing direct admin access to compromised Openfire servers. No detection-only or fake code is present; the script is a functional exploit.

ThatNotEasyDisclosed Jul 2, 2023pythonnetwork
CVE-2023-32315-EXPLOITMaturityPoCVerified exploit

This repository contains a Python proof-of-concept exploit for CVE-2023-32315, an authentication bypass vulnerability in the Openfire Admin Console. The exploit targets Openfire servers running versions 3.10.0 through 4.7.4 (and 4.6.7 and below), leveraging a path traversal flaw in the setup environment combined with non-standard URL encoding to bypass authentication and access restricted admin pages. The main script, 'CVE-2023-32315.py', allows the user to specify a single target or a file containing multiple targets. It retrieves a CSRF token from the login page, then sends a crafted request to the vulnerable endpoint to create a new administrative user ('hugme'/'HugmeNOW'). The exploit is network-based and requires the target's Admin Console to be accessible. The repository also includes a README.md with background information, affected versions, and screenshots of the exploit in action. No hardcoded IPs or domains are present; the script requires the user to supply the target URL(s).

K3ysTr0K3RDisclosed Dec 15, 2023pythonnetwork
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
IgniterealtimeOpenfireapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence4

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures2

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity1

Community discussion across Reddit, Mastodon, and other social sources.