CVE-2021-32682: elFinder before 2.1.59 contains multiple vulnerabilities leading to RCE

Published Jun 14, 2021
·
Updated

Impact

We recently fixed several vulnerabilities affect elFinder 2.1.58. These vulnerabilities can allow an attacker to execute arbitrary code and commands on the server hosting the elFinder PHP connector, even with the minimal configuration.

Patches

The issues were addressed in our last release, 2.1.59.

Workarounds

If you can't update to 2.1.59, make sure your connector is not exposed without authentication.

Reference

Further technical details will be disclosed on https://blog.sonarsource.com/tag/security after some time.

For more information

If you have any questions or comments about this advisory, you can contact: - The original reporters, by sending an email to vulnerability.research@sonarsource.com; - The maintainers, by opening an issue on this repository.

Other sources

elFinder before 2.1.59 contains multiple vulnerabilities leading to RCE

— Packagist

elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Several vulnerabilities affect elFinder 2.1.58. These vulnerabilities can allow an attacker to execute arbitrary code and commands on the server hosting the elFinder PHP connector, even with minimal configuration. The issues were patched in version 2.1.59. As a workaround, ensure the connector is not exposed without authentication.

— MITRE

Affected Software

3 affected componentsFixes available
std42 elFinder<2.1.59
composer/studio-42/elfinder<2.1.59
2.1.59
composer/studio-42/elfinder<2.1.59
2.1.59

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/studio-42/elfinder to a version that resolves this vulnerability.

    Fixed in 2.1.59
  2. Upgrade

    Upgrade elFinder to a version that resolves this vulnerability.

    Fixed in 2.1.59
  3. Compensating control

    Ensure the elFinder PHP connector is not exposed without authentication.

Event History

Jun 14, 2021
CVE Published
via MITRE·04:45 PM
Data Sourced
via MITRE·04:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 16, 2021
Advisory Published
via GitHub·05:04 PM
Data Sourced
via GitHub·05:04 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·05:04 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-32682?

CVE-2021-32682 has a high severity rating due to its potential to allow remote code execution.

2

How do I fix CVE-2021-32682?

To fix CVE-2021-32682, upgrade your elFinder installation to version 2.1.59 or later.

3

Which versions of elFinder are affected by CVE-2021-32682?

CVE-2021-32682 affects elFinder versions prior to 2.1.59.

4

What can an attacker do with CVE-2021-32682?

An attacker can execute arbitrary code and commands on the server hosting the elFinder PHP connector.

5

Is CVS-2021-32682 related to other vulnerabilities?

CVE-2021-32682 is part of a broader set of vulnerabilities identified in elFinder that impact its security posture.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203