Exploit database

Vulnerability

CVE-2024-25421

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

An issue in Ignite Realtime Openfire v.4.9.0 and before allows a remote attacker to escalate privileges via the ROOM_CACHE component.

CVE Program

Exploit source choices

1 source
Openfire Deleted Administrator Account Authentication Bypass RCE
MSF-multi--http--openfire_deleted_admin_rce_cve_2024_25420MetasploitJava / remotePreferred

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.

2024-03-26openfire_deleted_admin_rce_cve_2024_25420.rb