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.
- Exploited in the wild
- Since 24 Aug 2023
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
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
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 | 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 include 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.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
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: 1 Metasploit module, 1 Nuclei template and 11 proofs of concept on GitHub.
Other vulnerabilities in igniterealtime Openfire
- CVE-2024-25421 Ignite Realtime Openfire privilege escalation vulnerability
- CVE-2021-45967 Path traversal in n/a
- CVE-2019-18394 Ignite Realtime Openfire vulnerable to Server Side Request Forgery
- CVE-2014-2741 Ignite Realtime Openfire vulnerable to XMPPbomb attack
- CVE-2014-3451 Security feature bypass in n/a
Sources
Also known as BIT-openfire-2023-32315, GHSA-gw42-f939-fhvm.