CVE-2023-32315 Ignite Realtime Openfire Path Traversal

Exploited in the wild High 8.6 Published Updated

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.

PackageAffectedFixed in
org.igniterealtime.openfire:xmppserver MavenFrom 3.10.04.6.8
org.igniterealtime.openfire:xmppserver MavenFrom 3.10.04.6.8
org.igniterealtime.openfire:xmppserver MavenFrom 4.7.04.7.5
org.igniterealtime.openfire:xmppserver MavenFrom 4.7.04.7.5
openfire BitnamiFrom 3.10.04.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.

Sources

Also known as BIT-openfire-2023-32315, GHSA-gw42-f939-fhvm.

Is CVE-2023-32315 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free