logo

Predicting MongoDB ObjectId continuously in Rocket.Chat

ID: 8ca29aa8-4114-5565-984c-a265c70839a9

STIX ID: report--8ca29aa8-4114-5565-984c-a265c70839a9

Feed Name: Aikido Security's Blog

Threat Score
70/100

Date Published: 2026-07-06

Date Updated: 2026-07-24

...
...

Aikido's AI pentest discovered an unauthenticated IDOR in Rocket.Chat where the file retrieval endpoint did not verify that a file's stored room matched the room parameters used for access checks; combined with the predictability of MongoDB ObjectId() (timestamp, per-process random, incrementing counter), the researchers built an async probe/enumeration PoC that can continuously discover and download all uploaded files on vulnerable instances. The issue was reported and fixed (versions listed in the report) and the authors recommend upgrading immediately and avoiding reliance on ObjectId() for secrecy (use UUIDv4 and proper file-to-room verification).

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.