Skip to content
Access control Disclosed report Beginner

[AWC-Pune] - User can download files deleted by Admin using shortcuts

A user could bypass an admin's deletion of a file by adding a shortcut to it in a folder and then downloading that folder, which included the deleted file. This allowed access to files that should have been blocked.

prateek_thakare Follow with aishkendle

Originally disclosed on HackerOne

Medium 6.5 View original
  • Triaged in 12 days
  • Fixed in 12 days
  • Paid in 12 days
  • Disclosed after 28 days

Summary by the program

A vulnerability was found in where a Lark user could bypass Admin restrictions on deleted files, which typically would block users of the file from downloading or using it. However, the user could add a shortcut of the file to a folder, and upon downloading that folder could access the file previously deleted by the Admin. We thank @prateek_thakare for reporting this to our team and confirming its resolution.

The original report as published on HackerOne, by prateek_thakare. 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.

How it worked

Root cause

Likely the folder download feature did not check whether files referenced by shortcuts had been deleted or were restricted.

Impact

A user could download files that an admin had deleted, bypassing the intended restriction.

What the attacker needed

A Lark user account; a file deleted by an admin; ability to create shortcuts and folders

The fix

The report states the issue was resolved, but does not describe the fix.

How it was found

  1. A user adds a shortcut to a file that an admin has deleted.
  2. The user places the shortcut in a folder.
  3. The user downloads the folder.
  4. The downloaded folder contains the deleted file, allowing access.

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 an admin deletes a file, the system should stop anyone from downloading it. But if a user creates a shortcut to that file and puts it in a folder, then downloads the whole folder, the deleted file gets included anyway. This means the deletion didn't fully work.

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 prateek_thakare

View all

1 more disclosed report, best first.

More from Lark Technologies

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.