Openfire versions before 4.8.1 did not remove a user's JID from the admin.authorizedJIDs property when the user was deleted. If an attacker knows the username of a deleted administrator and in-band registration is enabled, the attacker can recreate that account and inherit administrative access. An authenticated Openfire administrator can upload a management plugin containing a Java payload. Openfire 4.8.1 prevents new stale entries when a user is deleted, but it does not migrate entries created by an older version. An upgraded server can therefore remain exploitable until the recreated account is deleted while the fix is present. The ADMINUSERNAME option must identify a previously deleted administrator. The check method does not create accounts and cannot determine whether this target-specific state exists.
Exploit database
Vulnerability
CVE-2024-25420
Vulnerability details
- Score
- 7.2
- Severity
- high
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HDescription
An issue in Ignite Realtime Openfire before 4.8.1 allows a remote attacker to escalate privileges via the admin.authorizedJIDs system property component.
CVE ProgramExploit source choices
1 sourceOpenfire Deleted Administrator Account Authentication Bypass RCE
2024-03-26openfire_deleted_admin_rce_cve_2024_25420.rb