CVE-2021-32682
CRITICAL NUCLEIelFinder < 2.1.59 - Remote Code Execution via Archive Command Injection
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2021-32682.
PoCs published by Thomas Chauchefoin, Shelby Pace, including Metasploit module exploits/linux/http/elfinder_archive_cmd_injection.
A Nuclei detection template is also available.
AI-analyzed exploit summary This Metasploit module exploits a command injection vulnerability in elFinder versions below 2.1.59 via the archive functionality. It bypasses `escapeshellarg()` sanitization by injecting the `-TmTT` argument into the `name` parameter, allowing arbitrary command execution as the `www-data` user.
Description
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.
Exploits (1)
This Metasploit module exploits a command injection vulnerability in elFinder versions below 2.1.59 via the archive functionality. It bypasses `escapeshellarg()` sanitization by injecting the `-TmTT` argument into the `name` parameter, allowing arbitrary command execution as the `www-data` user.
Nuclei Templates (1)
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H