Skip to content
Access control Disclosed report Intermediate

Online Status of arbitrary users can be changed

gronke Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 16 days
  • Fixed in 6 months
  • Disclosed after 5.5 years

Summary

A third-party Meteor module Konecty/meteor-user-presence was found to improperly authenticate user Status changes, so that it is possible to change other users online status by sending HTTP requests or data via WebSocket connection.

Description

With the following payloads, an users online status can be changed without proper authentication:

["{\"msg\":\"method\",\"method\":\"UserPresence:away\",\"params\":[\"$USER_ID\"],\"id\":\"23\"}"]
["{\"msg\":\"method\",\"method\":\"UserPresence:online\",\"params\":[\"$USER_ID\"],\"id\":\"23\"}"]

Expected result is an error, when attempting to change other users status.

It was not possible to reproduce this finding with every user - more investigation required to figure out what sometimes makes it unreliable.

Releases Affected:

Steps To Reproduce (from initial installation to vulnerability):

  1. Figure out another users _id from client network requests
  2. Send the crafted payload via WebSockets
  3. Observe status-change in other chat sessions

Suggested mitigation

Impact

The online status of arbitrary users can be changed by others.

The original report as published on HackerOne, by gronke. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A medium-severity access control bug in Rocket.Chat, rated CVSS 5.3. HackerOne made it public on 10 August 2024.

About Access control

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by gronke

View all

27 more disclosed reports, best first.

More from Rocket.Chat

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.