Able to steal private files by manipulating response using Auto Reply function of Lark
An insecure direct object reference in Lark's Auto Reply feature let a user request another user's private file by supplying that file's identifier. An attacker who knew the alphanumeric file ID could therefore fetch files belonging to other users.
Originally disclosed on HackerOne
- Triaged in 9 days
- Fixed in 9 days
- Paid in 9 days
- Disclosed after 3 months
Summary by the program
A IDOR (Insecure Direct Object Reference) vulnerability was found within the "AutoReply" 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 Auto Reply feature looked up files by their identifier without verifying that the requesting user owned or had access to that file.
Impact
A malicious user who knew a specific file ID could fetch another user's private file; the text does not say whether the ID was guessable or how it would be learned.
What the attacker needed
Knowledge of a target file ID
The fix
The report says the issue was resolved but does not describe the fix.
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.
When a website shows you a file, it often uses a short code to identify that file. If the site does not check that the file belongs to you before handing it over, anyone who guesses or learns the code can read someone else's file. This is called an insecure direct object reference, because the site trusts the identifier instead of checking permission.
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.