Skip to content
File upload Disclosed report Beginner

Unrestricted File Upload on https://app.lemlist.com

The email signature upload accepted an HTML file without proper restriction; the reporter says such files should not be executed server-side and that an attacker could deface the page.

ctulhu Follow

Originally disclosed on HackerOne

  • Triaged in 40 hours
  • Fixed in 4 days
  • Disclosed after 5 months

Summary:

Hi! i found an Unrestricted File Upload on https://app.lemlist.com which let me upload anything. File Extensions Such as .html and others should not be executed on the server side.

Steps To Reproduce:

[add details for how we can reproduce the issue]

Screen_Shot_2019-10-26_at_12.42.33_AM.png
Screen_Shot_2019-10-26_at_12.42.33_AM.png From the original on HackerOne
  • 3.) Download (Attachment on the original report: page.html) and Upload it
  • 4.) Right Click and Get the Link of the Uploaded File, Visit the Link.
Screen_Shot_2019-10-26_at_12.45.23_AM.png
Screen_Shot_2019-10-26_at_12.45.23_AM.png From the original on HackerOne

Impact

attacker can bypass upload restrictions and deface the page.

The original report as published on HackerOne, by ctulhu. 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 server did not validate the file type or extension on upload, and served uploaded files with a content type that allowed HTML execution.

Impact

An attacker could bypass upload restrictions and deface the page.

What the attacker needed

A user account

How it was found

  1. Log in to the application.
  2. Navigate to Settings > Email Signature and click the three dots to upload a file.
  3. Download the provided file and upload it.
  4. Right-click the uploaded file to get its link and visit that link.

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.

A file upload feature should only accept safe file types. Here the site allowed an HTML file to be uploaded, which the reporter says should not be executed server-side, and an attacker could deface the page.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

More by ctulhu

View all

12 more disclosed reports, best first.

More from lemlist

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.