CVE-2019–11380 | How I was able to access complete storage of ES-FileExplorer End user
The ES File Explorer app allowed its FTP server to be started via an exported activity even when a master password was set, so an attacker could access the device's entire local storage over the network. A malicious app could trigger this activity and then read all files from a remote location.
medium.com
Published on medium.com
ES-file explorer was a very popular file manager having more than 30 lac downloads on play store. I found a critical vulnerability Authentication bypass via insecure FTP Activity execution by which an attacker could access complete filesystem of victim’s mobile.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the FTP shortcut activity was exported and did not enforce the master password check before starting the FTP server.
Impact
An attacker could access the complete filesystem of the victim's mobile, including images, camera and downloads, from a remote location; the text does not mention any defence that limited the exploit.
What the attacker needed
ES File Explorer installed; master password set (bypassed); malicious app or adb access
The fix
The vulnerability was fixed in version 4.2.0.1.4.
How it was found
- Set a master password in the ES File Explorer app.
- Use the Android activity manager to start the FTP shortcut activity.
- Observe the FTP URL displayed in the notification panel.
- Open that URL in a browser to access all local storage contents.
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 write-up has not been written yet. The Original tab links to the source.
A file manager app had a feature to share files over the network using FTP, which is a way to transfer files between devices. The app also let you set a password to protect its features, but the part that starts the FTP server could be launched directly by another app without asking for the password. This meant any other app on the phone could turn on file sharing and then read all your files from a computer.
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.