Able to steal private files by manipulating response using Compose Email function of Lark
The Compose Email feature of Lark did not properly check that a user was allowed to access a file referenced by its identifier. An attacker who knew another user's file ID could fetch that user's private files.
Originally disclosed on HackerOne
- Triaged in 2 days
- Fixed in 3 days
- Paid in 3 days
- Disclosed after 3 months
Summary by the program
A IDOR (Insecure Direct Object Reference) vulnerability was found within the "Compose Email" functions of Lark. This vulnerability could have allowed malicious users to fetch the files of other users if they knew the specific file ID which was an alphanumeric value. We thank @imran_nisar for reporting this to our team and confirming its resolution.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Compose Email function looked up files by the supplied ID without verifying that the requesting user owned or had access to that file.
Impact
An attacker who knew a specific alphanumeric file ID could have fetched another user's private files; the text says the issue was resolved.
What the attacker needed
Knowledge of another user's file ID
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Files have an alphanumeric ID. This bug meant the service handed over a file whose ID you supplied, without checking it belonged to you. Someone who learned another person's file ID could download their private files.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.