Skip to content
Access control Disclosed report Beginner

User uploaded portfolio files can be accessed by any user even after deleted

Uploaded portfolio files remained accessible to any logged-in user via a direct attachment link, even after the portfolio was deleted. An attacker could view private files by guessing or obtaining the numeric file ID.

tolo7010 Follow

Originally disclosed on HackerOne

  • Triaged in 9 hours
  • Fixed in 6 months
  • Paid in 7 months
  • Disclosed after 14 months

Reproduction:

  1. Login as a user, e.g: user1
  2. Create a portfolio by going to https://app.mavenlink.com/users/1234567-user1/work_samples/new

note: replace 1234567-user1 with the actual user id/name endpoint. 3. Uploading any file to the new portfolio and click save. On the right side of profile info, you will see the created portfolio with attached file, 4. Click on the file, notic the link is https://app.mavenlink.com/attachments/xxxxxxxx Where xxxxxxxx is the file ID in 8 number lenght. 5. Copy the file link and open it in other browser with different login user, e.g: user2, you will see the file is accessible. 6. On user1, delete the file/portfolio. 7. The link is still accessible,

This is my uploaded portfolio file: https://app.mavenlink.com/attachments/79279255 (I've delete all the portfolio on the web interface),

Recommend fix:

  • Provide mechanism to check if the uploaded file link is associated with coresponding account.
  • Delete the uploaded file (in AWS?) with portfolio as user desired.

Impact

As user profile and portfolio (with files) can only seen if the user is in the same team/group, otherwise the information should be private, as going throgh any profile link (https://app.mavenlink.com/profiles/[user-id]) getting "Private Profile" message

The original report as published on HackerOne, by tolo7010. 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 application does not check whether the requesting user is authorised to access the attachment, and deletion only removes the portfolio entry without deleting the underlying file.

Impact

Any logged-in user could access private portfolio files via a direct link, even after deletion, if they know the file ID.

What the attacker needed

A logged-in account; victim uploads a portfolio file; attacker knows the file ID

How it was found

  1. Log in as user1 and create a new portfolio.
  2. Upload a file to the portfolio and save it.
  3. Click the file to get its direct attachment link.
  4. Open the link in a different browser logged in as user2; the file is accessible.
  5. Delete the file/portfolio as user1.
  6. The link remains accessible.

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 you upload a file to a website, the site gives it a unique web address. This report shows that anyone who knows that address can open the file, even if they are not supposed to see it, and even after you delete it from your profile. The file is not properly protected or removed.

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 tolo7010

View all

15 more disclosed reports, best first.

More from Mavenlink

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.