Looking for the vulnerability index of Invicti's legacy products?
elFinder RCE (CVE-2021-32682) - Vulnerability Database

elFinder RCE (CVE-2021-32682)

Description

elFinder, a popular open-source file manager for web applications, contains multiple security vulnerabilities tracked under CVE-2021-32682 that allow unauthenticated remote attackers to execute arbitrary code on the server. These vulnerabilities stem from improper path validation (CWE-22) that can be exploited to bypass security restrictions and gain unauthorized access to the underlying system.

Remediation

Immediately upgrade elFinder to version 2.1.59 or later, which addresses CVE-2021-32682. Follow these steps to remediate:

1. Identify all instances of elFinder in your environment by checking composer dependencies or manual installations
2. Update to the patched version using composer:

composer require studio-42/elfinder ">=2.1.59"
3. If immediate patching is not possible, implement temporary mitigations by restricting access to elFinder endpoints using web server access controls or WAF rules
4. Review server logs for any suspicious file operations or command execution attempts that may indicate prior exploitation
5. After upgrading, verify the installation and test file manager functionality to ensure proper operation

Related Vulnerabilities