CVE-2022-27115
PHP vulnerability analysis and mitigation

Overview

In Studio-42 elFinder version 2.1.60, a remote code execution vulnerability was discovered through file name bypass during file upload operations. The vulnerability was assigned CVE-2022-27115 and affects systems running the elFinder file manager application (NVD, CVE).

Technical details

The vulnerability exists due to improper input validation on file names when uploading files through the connector.minimal.php endpoint, specifically when the software is running on Windows systems. The issue allows attackers to bypass file upload restrictions by manipulating file names with additional dots after the file extension (FortiGuard).

Impact

Successful exploitation of this vulnerability could result in arbitrary file write of unpermitted file types and, in the worst case, remote code execution on the affected system. This could potentially lead to complete system compromise, allowing remote attackers to gain control of vulnerable systems (FortiGuard).

Exploitability

The vulnerability can be exploited by unauthenticated remote attackers by sending crafted requests to the target server. The exploitation specifically works on Windows-based systems and involves uploading a PHP shell file with modified filename patterns (GitHub).

Mitigation and workarounds

The vulnerability has been fixed in elFinder version 2.1.61. Organizations are advised to upgrade to the latest version to mitigate this security risk (FortiGuard).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-8cfw-pcwh-v63wHIGH8.4
  • PHP logoPHP
  • winter/wn-system-module
NoYesAug 20, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-fm29-4mq3-phg6MEDIUM5.3
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-mpmw-f6h6-3g26MEDIUM4.3
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management