Vulnerabilities in pkg:maven/org.igniterealtime.openfire/xmppserver

PACKAGE
Advisory Identifier: GHSA-5xvc-rwv8-86p7
Advisory Summary

CVE-2024-25420 is a HIGH (CVSS 7.2) ignite realtime openfire privilege escalation vulnerability (CWE-273: Improper Check for Dropped Privileges) affecting Xmppserver libraries in the Maven ecosystem. The issue involves ignite realtime openfire privilege escalation vulnerability. Remediation is available by upgrading affected packages to version 4.8.1.

6 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.igniterealtime.openfire/xmppserver

6 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.igniterealtime.openfire/xmppserver. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-5xvc-rwv8-86p7 CVE-2024-25420 HIGH Ignite Realtime Openfire privilege escalation vulnerability
GHSA-gw42-f939-fhvm CVE-2023-32315 HIGH Administration Console authentication bypass in openfire xmppserver
GHSA-w252-645g-87mp CVE-2025-59154 MODERATE Openfire has potential identity spoofing issue via unsafe CN parsing
GHSA-6pwg-gg6j-5crm CVE-2024-25421 HIGH Ignite Realtime Openfire privilege escalation vulnerability
GHSA-wx2w-8pqw-vp4g CVE-2019-20528 MODERATE Ignite Realtime Openfire allows Cross-site Scripting
GHSA-5qfv-rr79-chx5 CVE-2019-15488 MODERATE Cross-site Scripting in Ignite Realtime Openfire

CVE-2024-25420 at a Glance

CVE Identifier CVE-2024-25420
GHSA Identifier GHSA-5xvc-rwv8-86p7
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-273: Improper Check for Dropped Privileges
Affected Product Xmppserver
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2024-25420

To remediate this vulnerability, upgrade all affected Xmppserver dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.igniterealtime.openfire:xmppserver fixed: 4.8.1
<dependency>
    <groupId>org.igniterealtime.openfire</groupId>
    <artifactId>xmppserver</artifactId>
    <version>4.8.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.igniterealtime.openfire

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-25420, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.igniterealtime.openfire

Analyze the terminal output to locate any version of Xmppserver in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.8.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.igniterealtime.openfire command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-273: Improper Check for Dropped Privileges, where the product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded. In Xmppserver, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An issue in Ignite Realtime Openfire v.4.8.0 and before allows a remote attacker to escalate privileges via the admin.authorizedJIDs system property component.

CVE-2024-25420 Affected Xmppserver Versions

1 component(s)
Fixed Versions:
4.8.1
Product / Package Ecosystem Affected Versions Fixed Version
org.igniterealtime.openfire:xmppserver
Maven
< 4.8.1
4.8.1

References

Frequently Asked Questions

What is CVE-2024-25420?
CVE-2024-25420 is a security vulnerability in Xmppserver involving Ignite Realtime Openfire privilege escalation vulnerability under CWE-273: Improper Check for Dropped Privileges.
Which Xmppserver versions are affected?
Affected versions include releases prior to 4.8.1 across affected packages: org.igniterealtime.openfire:xmppserver.
What version fixes CVE-2024-25420?
Upgrading to 4.8.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is xmppserver affected?
Yes, org.igniterealtime.openfire:xmppserver is affected in releases prior to 4.8.1. Upgrade your dependency to 4.8.1 or later.
What is the CVSS score of CVE-2024-25420?
CVE-2024-25420 has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2024-25420?
CVE-2024-25420 is classified under CWE-273: Improper Check for Dropped Privileges (The product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded.).
How can I check Maven dependencies for CVE-2024-25420?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.igniterealtime.openfire'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5xvc-rwv8-86p7",
  "modified" : "2025-11-15T02:52:34Z",
  "published" : "2024-03-26T21:30:47Z",
  "aliases" : [ "CVE-2024-25420" ],
  "summary" : "Ignite Realtime Openfire privilege escalation vulnerability",
  "details" : "An issue in Ignite Realtime Openfire v.4.8.0 and before allows a remote attacker to escalate privileges via the admin.authorizedJIDs system property component.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.igniterealtime.openfire:xmppserver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.8.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-25420"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/igniterealtime/Openfire/pull/2411"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/igniterealtime/Openfire/commit/5c022bfa82d71d1710381ab395b100cdbcb8f310"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/igniterealtime/Openfire"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/igniterealtime/Openfire/blob/main/xmppserver/src/main/java/org/jivesoftware/openfire/admin/AdminManager.java"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/igniterealtime/Openfire/releases/tag/v4.8.1"
  }, {
    "type" : "WEB",
    "url" : "https://igniterealtime.atlassian.net/browse/OF-2758"
  }, {
    "type" : "WEB",
    "url" : "https://www.hackthebox.com/blog/openfire-cves-explained-CVE-2024-25420-CVE-2024-25421"
  }, {
    "type" : "WEB",
    "url" : "https://www.igniterealtime.org/projects/openfire"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-273", "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-27T21:59:21Z",
    "nvd_published_at" : "2024-03-26T21:15:52Z"
  }
}