HexBrain

Nextcloud · Report #746541

SSRF on local storage of iOS mobile

Validstatus
mediumseverity
7upvotes
1 Mar 2020disclosed

How it was found

  1. The tester uploaded the text file, containing "test ssrf" message, in order to proof SSRF attack.
  2. Next, the tester uploaded the common file and then manipulate the content and extension file to html format in order to find the application path: <svg/onload=document.write(document.location)>
  3. The tester access that file and found the application path to use for SSRF local file disclosure.
  4. Then, the tester uploaded the common file and then manipulate the content and extension file to html format in order to view the local file via SSRF attack: <iframe src="file://.../ssrfpoc.txt" width="400" height="400"></iframe>
  5. The tester access that file and found that this application allow you to access and read the local file successfully.

Impact

This allow anyone to use other URLs such as that can access documents on the system/application (using file://) a.k.a Sensitive Data Exposure.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original