| عنوان | Ignite Realtime Openfire 5.2.0 Alpha Missing Authorization |
|---|
| الوصف | Openfire 5.2.0 Alpha (verified) and earlier 4.x/5.x releases sharing this code. PubSub node owners approve pending subscriptions by replying to a subscribe_authorization data form. The handler that processes the approval never verifies that the sender is the node owner, so any authenticated user can approve their own pending subscription.
Root cause: xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/PubSubEngine.java
- L299-308: any normal message carrying a jabber:x:data form of type submit with FORM_TYPE=http://jabber.org/protocol/pubsub#subscribe_authorization is routed to processAuthorizationAnswer. message.getFrom() is never compared to the node owner.
- L1832-1856: processAuthorizationAnswer reads pubsub#node, pubsub#subid and pubsub#allow from the form and calls node.approveSubscription(subscription, approved) at L1853 with no ownership or authorization check.
The subscription id is not secret: it is returned to the subscriber in the pending subscription result. The node id is visible to the subscriber too.
Reproduction (verified 2026-11-04, target x.x.x.x, pubsub service pubsub.of.local):
1. As alice, create a pubsub node with access_model=authorize. The owner is auto-subscribed as subscribed.
2. As eve, request a subscription to the node. Response: subscription='pending' plus a subid attribute (e.g. hb44UrN9LzrrXUwxJmipjXTGkevQYtJNcJ2KYj3v) - the id needed for the forgery is disclosed to the attacker.
3. As eve (normal user, not the owner), send a message to pubsub.of.local with a jabber:x:data submit form: FORM_TYPE=http://jabber.org/protocol/pubsub#subscribe_authorization, pubsub#node=<node>, pubsub#[email protected], pubsub#subid=<subid>, pubsub#allow=1.
4. Query subscriptions again as eve: subscription='subscribed'. The owner never approved anything.
Impact: complete bypass of the access_model=authorize control; unauthorized disclosure of all items published to private nodes; with multiple accounts, silent mass subscription to sensitive feeds; forged denials (pubsub#allow=0) can deny other users' subscriptions.
CVSS 3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (6.5). |
|---|
| المصدر | ⚠️ https://github.com/igniterealtime/Openfire |
|---|
| المستخدم | test008 (UID 99871) |
|---|
| ارسال | 09/11/2026 04:24 AM (24 أيام منذ) |
|---|
| الاعتدال | 03/12/2026 09:20 AM (24 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 448602 [Ignite Realtime Openfire حتى 5.1.2 PubSubEngine.java processAuthorizationAnswer تجاوز الصلاحيات] |
|---|
| النقاط | 20 |
|---|