{"id":"GHSA-wph3-44rj-92pr","summary":"elFinder before 2.1.59 contains multiple vulnerabilities leading to RCE","details":"### Impact\n\nWe 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. \n\n### Patches\n\nThe issues were addressed in our last release, 2.1.59. \n\n### Workarounds\n\nIf you can't update to 2.1.59, make sure your connector is not exposed without authentication.\n\n### Reference\n\nFurther technical details will be disclosed on https://blog.sonarsource.com/tag/security after some time.\n\n### For more information\n\nIf you have any questions or comments about this advisory, you can contact:\n    - The original reporters, by sending an email to vulnerability.research@sonarsource.com;\n    - The maintainers, by opening an issue on this repository.","aliases":["CVE-2021-32682"],"modified":"2026-07-08T06:28:05.746071553Z","published":"2021-06-16T17:04:29Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-06-15T21:01:45Z","nvd_published_at":"2021-06-14T17:15:00Z","cwe_ids":["CWE-22","CWE-78","CWE-918"]},"references":[{"type":"WEB","url":"https://github.com/Studio-42/elFinder/security/advisories/GHSA-qm58-cvvm-c5qr"},{"type":"WEB","url":"https://github.com/Studio-42/elFinder/security/advisories/GHSA-wph3-44rj-92pr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32682"},{"type":"WEB","url":"https://github.com/Studio-42/elFinder/commit/a106c350b7dfe666a81d6b576816db9fe0899b17"},{"type":"WEB","url":"https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities"},{"type":"PACKAGE","url":"https://github.com/Studio-42/elFinder"},{"type":"WEB","url":"http://packetstormsecurity.com/files/164173/elFinder-Archive-Command-Injection.html"}],"affected":[{"package":{"name":"studio-42/elfinder","ecosystem":"Packagist","purl":"pkg:composer/studio-42/elfinder"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.59"}]}],"versions":["2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.10","2.1.11","2.1.12","2.1.13","2.1.14","2.1.15","2.1.16","2.1.17","2.1.18","2.1.19","2.1.2","2.1.20","2.1.21","2.1.22","2.1.23","2.1.24","2.1.25","2.1.26","2.1.27","2.1.28","2.1.29","2.1.3","2.1.30","2.1.31","2.1.32","2.1.33","2.1.34","2.1.35","2.1.36","2.1.37","2.1.38","2.1.39","2.1.4","2.1.40","2.1.41","2.1.42","2.1.43","2.1.44","2.1.45","2.1.46","2.1.47","2.1.48","2.1.49","2.1.5","2.1.50","2.1.51","2.1.52","2.1.53","2.1.54","2.1.55","2.1.56","2.1.57","2.1.58","2.1.6","2.1.7","2.1.8","2.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-wph3-44rj-92pr/GHSA-wph3-44rj-92pr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}