elFinder 2.1.58 - Remote Code Execution Detection
| Reporter | Title | Published | Views | Family All 29 |
|---|---|---|---|---|
| elFinder Archive Command Injection Exploit | 15 Sep 202100:00 | – | zdt | |
| CVE-2021-32682 | 14 Jun 202117:15 | – | attackerkb | |
| The vulnerability of the elFinder file manager stems from the incorrect implementation of authentication mechanisms, allowing attackers to execute arbitrary code. | 29 Jun 202100:00 | – | bdu_fstec | |
| CVE-2021-32682 | 14 Jun 202120:37 | – | circl | |
| elFinder 代码问题漏洞 | 14 Jun 202100:00 | – | cnnvd | |
| elFinder code issue vulnerability | 17 Jun 202100:00 | – | cnvd | |
| ElFinder File Manager Command Injection (CVE-2021-32682) | 30 Dec 202100:00 | – | checkpoint_advisories | |
| CVE-2021-32682 | 14 Jun 202116:45 | – | cve | |
| CVE-2021-32682 Multiple vulnerabilities leading to RCE | 14 Jun 202116:45 | – | cvelist | |
| elFinder before 2.1.59 contains multiple vulnerabilities leading to RCE | 16 Jun 202117:04 | – | github |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""elFinder 2."""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'elFinder 2.1.58 - Remote Code Execution Detection',
'description': 'elFinder 2.1.58 is impacted by multiple remote code execution vulnerabilities that could allow an attacker to execute arbitrary code and commands on the server hosting the elFinder PHP connector, even with minimal configuration.',
'author': ['KittySploit Team'],
'severity': 'critical',
'tags': ['web', 'scanner', 'cve', 'cve2021', 'elfinder', 'misconfig', 'rce', 'oss', 'std42', 'vuln'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 6,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.3,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{
'capability': 'admin_surface',
'from_detail': '',
},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
},
},
'references': [
'https://smaranchand.com.np/2022/01/organization-vendor-application-security/',
'https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities',
'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',
],
'cve': 'CVE-2021-32682',
}
def run(self):
for path in ('/admin/elfinder/elfinder-cke.html', '/assets/backend/elfinder/elfinder-cke.html', '/assets/elFinder-2.1.9/elfinder.html', '/assets/elFinder/elfinder.html', '/backend/elfinder/elfinder-cke.html', '/elfinder/elfinder-cke.html', '/uploads/assets/backend/elfinder/elfinder-cke.html', '/uploads/assets/backend/elfinder/elfinder.html'):
r = self.http_request(method="GET", path=path, allow_redirects=False)
if not r or r.status_code != 200:
continue
body = r.text or ""
body_all = ('elfinder', 'php/connector',)
if (all(m in body for m in body_all)):
self.set_info(
severity='critical',
reason="elFinder 2.1.58 - Remote Code Execution detected",
path=path,
)
return True
return False
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Jul 2026 11:27Current
9.3Critical risk
Vulners AI Score9.3
CVSS 27.5
CVSS 3.19.8
EPSS0.69934