Description
Let's Chat 0.3.0 through 0.4.8 contains a broken access control vulnerability that allows authenticated attackers to download file attachments from private and password-protected rooms they are not a member of by exploiting missing room membership checks in the file retrieval route. Attackers can enumerate adjacent MongoDB ObjectIds derived from a known file ID to recover files uploaded by other users, as the GET /files/:id/:name route in app/controllers/files.js only enforces login authentication without consulting room membership or the Room.canJoin check.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
sdelements lets-chat
Default version status: affected
0.3.0 to ≤ 0.4.8affected55e8833974c83559ed2cbc12bc15febeb2466254 to ≤ 617207ff3c0c0bf8e3c7a915bd9ec03f1dd8390caffected
pkg:github/sdelements/lets-chat