Skip to content
File upload Disclosed report Beginner

Unrestricted File Upload on https://my.stripo.email and https://stripo.email

The report claims that two upload features on Stripo's sites accept a PHP shell renamed with a JPEG extension, and that the server saves it as a profile picture or template-order file. The author does not show that the file is executed or that any server-side impact follows.

doctor_spooky Follow

Originally disclosed on HackerOne

  • Triaged in 44 hours
  • Fixed in 23 days
  • Disclosed after 26 days

Hi Stripo Inc, I found 2 Unrestricted File Upload Vulnerabilities on your website.

First Vulnerability:

Step to Reproduce

  1. Create an account in "https://my.stripo.email"
  2. Simply Download a php shell from internet and open with text editor. ex: r57 shell
  3. Then save it as JPEG file.
  4. Go back to your stripo account and click on your profile icon on the top right corner of the website and go to show profile.

(Try saving it as default .php document it does not let you to upload the php malicious shell ) 5. Upload your shell saved as JPEG as profile picture. 6. After that this message will pop up on the screen "User icon has been saved".

Second Vulnerability:

Step to Reproduce

  1. Go to the URL "https://stripo.email/template-order/"
  2. Scroll down to "Click or Drop file here"
  3. Try Uploading .php shell downloaded earlier. (It does not allow you to upload php malicious shells)
  4. Now Upload the Shell that saved as JPEG.
  5. You will allow to upload Malicious shells saved as JPEG (image)

Please look at the Attached images.

Impact

The consequences of unrestricted file upload can vary, including complete system takeover, an overloaded file system or database, forwarding attacks to back-end systems, and simple defacement.Here is the list of attacks that the attacker might do: --Compromise the web server by uploading and executing a web-shell which can run commands, browse system files, browse local resources, attack other servers, and exploit the local vulnerabilities, and so forth. --Put a phishing page into the website. --Put a permanent XSS into the website. --Bypass cross-origin resource sharing (CORS) policy and exfiltrate potentially sensitive data. --Upload a file using malicious path or name which overwrites critical file or personal data that other users access. For example; the attacker might --- --replace the .htaccess file to allow him/her to execute specific scripts.

Take a look at the "https://owasp.org/www-community/vulnerabilities/Unrestricted_File_Upload" for full documentation.

Attachments

Shell.JPG
Shell.JPG From the original on HackerOne
Error_Comes_When_Uploading_.php_document.JPG
Error_Comes_When_Uploading_.php_document.JPG
Shell_Saved_As_JPEG.JPG
Shell_Saved_As_JPEG.JPG
Shell_Uploaded_As_JPEG_File.JPG
Shell_Uploaded_As_JPEG_File.JPG
Shell_Uploaded_As_JPEG_File_2nd_attack.JPG
Shell_Uploaded_As_JPEG_File_2nd_attack.JPG

The original report as published on HackerOne, by doctor_spooky. 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 upload checks only the file extension or declared type, not the file's actual content or whether it can be executed.

Impact

The author lists possible consequences such as web-shell execution, phishing pages, stored XSS and file overwrite, but provides no evidence that any of these occurred; the text only shows that the renamed file was accepted.

What the attacker needed

A free account; ability to rename a file

The fix

The report does not propose a fix; it only links to OWASP documentation on unrestricted file upload.

How it was found

  1. Create an account on the profile site.
  2. Rename a PHP shell file so it ends in .jpeg.
  3. Open the profile page and upload the renamed file as the profile picture.
  4. Go to the template-order page and scroll to the file drop area.
  5. Upload the same renamed file there.

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 check what a file really is, not just its name. Here the author renamed a PHP script to end in .jpeg and the site accepted it. The report does not show that the server ever runs that file, so the real danger is unproven.

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 from Stripo Inc

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.