Moderate
elFinder Command Injection v<2.1.48
Add Reference
Description
URL
Type
Moderate
(1 user assessed)High
(1 user assessed)Unknown
Unknown
Unknown
elFinder Command Injection v<2.1.48
MITRE ATT&CK
Collection
Command and Control
Credential Access
Defense Evasion
Discovery
Execution
Exfiltration
Impact
Initial Access
Lateral Movement
Persistence
Privilege Escalation
Description
elFinder is an open-source file manager available as a web application. A command injection vulnerability in the image handling functionality exists for versions prior to 2.1.48. This exploit requires that the exiftran
utility be installed.
Add Assessment
Ratings
-
Attacker ValueMedium
-
ExploitabilityHigh
Technical Analysis
Details
The PHP component in the elFinder software allows unauthenticated users to upload and manipulate images.
While performing image manipulation on a JPEG, elFinder passes the file’s name unsanitized to a command line utility called exiftran
.
By inserting arbitrary code into the JPEG’s file name, the code will get passed to the exiftran utility and be executed.
This exploit requires that exiftran
be installed to work. If exiftran
is not installed, then the software opts to use jpegtran
,
which removes exploitability. Despite the caveat listed previously, this is still a valuable exploit.
General Information
References
Advisory
Additional Info
Technical Analysis
Report as Exploited in the Wild
What do we mean by "exploited in the wild"?
By selecting this, you are verifying to the AttackerKB community that either you, or a reputable source (example: a security vendor or researcher), has observed an active attempt by attackers, or IOCs related, to exploit this vulnerability outside of a research environment.
A vulnerability should also be considered "exploited in the wild" if there is a publicly available PoC or exploit (example: in an exploitation framework like Metasploit).