CVE-2020-36246
📋 TL;DR
CVE-2020-36246 is a privilege escalation vulnerability in Amaze File Manager that allows attackers to gain root privileges by exploiting shell metacharacters in symbolic links. This affects users of Amaze File Manager versions before 3.5.1 on Android devices where the app has been granted root access.
💻 Affected Systems
- Amaze File Manager
📦 What is this software?
Amaze File Manager by Amaze File Manager Project
⚠️ Risk & Real-World Impact
Worst Case
Attackers gain full root access to the Android device, allowing complete system compromise, data theft, persistence installation, and bypass of all security controls.
Likely Case
Local attackers with physical or remote access to the device escalate privileges to root, gaining control over the entire Android system and all installed applications.
If Mitigated
With proper app sandboxing and no root access granted to Amaze File Manager, impact is limited to the app's own permissions.
🎯 Exploit Status
Exploitation requires local access to the device and the app must have root permissions. The technical details are publicly documented.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 3.5.1
Vendor Advisory: https://github.com/TeamAmaze/AmazeFileManager/releases/tag/v3.5.1
Restart Required: No
Instructions:
1. Update Amaze File Manager to version 3.5.1 or later from Google Play Store or GitHub releases. 2. No device restart required after update.
🔧 Temporary Workarounds
Revoke root permissions
androidRemove root/superuser access from Amaze File Manager in your root management app (Magisk, SuperSU, etc.)
Open your root management app
Find Amaze File Manager in the list
Revoke/deny root permissions
Uninstall or disable app
androidRemove Amaze File Manager from the device until it can be updated
Settings > Apps > Amaze File Manager > Uninstall/Disable
🧯 If You Can't Patch
- Revoke root permissions from Amaze File Manager using your root management application
- Use alternative file manager applications that don't require root access
🔍 How to Verify
Check if Vulnerable:
Check Amaze File Manager version in app settings. If version is below 3.5.1 and app has root permissions, device is vulnerable.
Check Version:
Open Amaze File Manager > Settings > About > Check version number
Verify Fix Applied:
Confirm Amaze File Manager version is 3.5.1 or higher in app settings. Verify root permissions are properly managed if still required.
📡 Detection & Monitoring
Log Indicators:
- Unusual root access attempts by Amaze File Manager
- Shell command execution with metacharacters from the app
Network Indicators:
- Not applicable - local privilege escalation
SIEM Query:
Not applicable for typical Android environments
🔗 References
- https://compass-security.com/fileadmin/Research/Advisories/2020-18_CSNC-2020-030_Amaze_FileManager_Privilege_Escalation.txt
- https://github.com/TeamAmaze/AmazeFileManager/releases/tag/v3.5.1
- https://compass-security.com/fileadmin/Research/Advisories/2020-18_CSNC-2020-030_Amaze_FileManager_Privilege_Escalation.txt
- https://github.com/TeamAmaze/AmazeFileManager/releases/tag/v3.5.1