Miggo Logo

CVE-2019-9194:
elFinder command injection vulnerability in the PHP connector

9.8

CVSS Score

Basic Information

EPSS Score
-
Published
5/13/2022
Updated
2/6/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
studio-42/elfindercomposer< 2.1.482.1.48

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper command string construction in multiple methods that execute OS commands. The patch adds '--' argument separators to mitigate injection. The affected functions all build command lines using user-controlled filenames without proper argument separation in pre-patch versions. The functions shown in the commit diff (ffmpegToImg, createTmb, imgRotate, etc.) directly incorporate user input into command strings without adequate sanitization, allowing attackers to inject command options via specially crafted filenames. The high confidence comes from: 1) The explicit patch adding '--' separators in these functions 2) CWE-78 alignment 3) Exploit POCs demonstrating command injection through image processing workflows handled by these functions.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*l*in**r ***or* *.*.** **s * *omm*n* inj**tion vuln*r**ility in t** P*P *onn**tor.

Reasoning

T** vuln*r**ility st*ms *rom improp*r *omm*n* strin* *onstru*tion in multipl* m*t*o*s t**t *x**ut* OS *omm*n*s. T** p*t** ***s '--' *r*um*nt s*p*r*tors to miti**t* inj**tion. T** *****t** *un*tions *ll *uil* *omm*n* lin*s usin* us*r-*ontroll** *il*n*