studio-42/elfinder · Security
elFinder before 2.1.59 contains multiple vulnerabilities leading to RCE
- GHSA ID
- GHSA-wph3-44rj-92pr
- CVE ID
- CVE-2021-32682
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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 [email protected]; - The maintainers, by opening an issue on this repository.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-918 · Server-Side Request Forgery (SSRF)
References
- https://github.com/Studio-42/elFinder/security/advisories/GHSA-qm58-cvvm-c5qr ↗
- https://github.com/Studio-42/elFinder/security/advisories/GHSA-wph3-44rj-92pr ↗
- https://nvd.nist.gov/vuln/detail/CVE-2021-32682 ↗
- https://github.com/Studio-42/elFinder/commit/a106c350b7dfe666a81d6b576816db9fe0899b17 ↗
- http://packetstormsecurity.com/files/164173/elFinder-Archive-Command-Injection.html ↗
- https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/ ↗
- https://github.com/advisories/GHSA-wph3-44rj-92pr ↗