Submit #1082031: Ignite Realtime Openfire 5.2.0 Alpha Incorrect Authorizationinfo

TitelIgnite Realtime Openfire 5.2.0 Alpha Incorrect Authorization
BeschreibungOpenfire 5.2.0 Alpha (verified) and earlier 4.x/5.x releases sharing this code. The in-band registration control (register.inband) is bypassable by any authenticated low-privilege user, who can create arbitrary accounts although the administrator disabled registration. Root cause: xmppserver/src/main/java/org/jivesoftware/openfire/handler/IQRegisterHandler.java - L320-327: for authenticated sessions, onlyPassword is set to true whenever the IQ payload has exactly two elements and both <username> and <password> are present. A new-account creation request is misclassified as a password change. - L336-341: the registrationEnabled gate runs only when onlyPassword is false, so the misclassification skips the gate. - L343-355: when the supplied username differs from the session user, userManager.createUser(username, password, null, email) runs. The comment says "An admin can create new accounts when logged in" but no admin check exists. Reproduction (verified 2026-11-04, target x.x.x.x:5222, Openfire 5.2.0 Alpha, XMPP domain of.local): 1. Set register.inband=false and restart Openfire. The register stream feature is no longer advertised. 2. Log in as a normal user (eve) via STARTTLS + SASL PLAIN on port 5222. 3. Send: <iq type='set' id='r1'><query xmlns='jabber:iq:register'><username>v3cve_1a2b</username><password>pwned123</password></query></iq> 4. Observed: <iq type="result" id="r1"/> (accepted). 5. Log in as v3cve_1a2b / pwned123: SASL succeeds, the account exists. 6. Control: the same request before authenticating is rejected and no account is created. Impact: bypass of the register.inband control; mass account creation (flooding, storage/CPU exhaustion); username squatting including admin when that account is absent; unauthorized modification of the user database by low-privilege users. CVSS 3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L (5.4). If the admin account does not exist on the target, the same flaw allows squatting admin and taking over the admin console: 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
Benutzer
 test008 (UID 99871)
Einreichung09.11.2026 04:23 (vor 24 Tagen)
Moderieren03.12.2026 09:20 (24 days later)
StatusAkzeptiert
VulDB Eintrag448601 [Ignite Realtime Openfire bis 5.1.2 IQRegisterHandler IQRegisterHandler.java handleIQ erweiterte Rechte]
Punkte20

Want to know what is going to be exploited?

We predict KEV entries!