Exploit database

Vulnerability

CVE-2019-9194

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.0 · NVD

Vector string

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

elFinder before 2.1.48 has a command injection vulnerability in the PHP connector.

CVE Program

Exploit source choices

4 sources
elFinder PHP Connector exiftran Command Injection
MSF-unix--webapp--elfinder_php_connector_exiftran_cmd_injectionMetasploitPHP / remote

This module exploits a command injection vulnerability in elFinder versions prior to 2.1.48. The PHP connector component allows unauthenticated users to upload files and perform file modification operations, such as resizing and rotation of an image. The file name of uploaded files is not validated, allowing shell metacharacters. When performing image operations on JPEG files, the filename is passed to the `exiftran` utility without appropriate sanitization, causing shell commands in the file name to be executed, resulting in remote command injection as the web server user. The PHP connector is not enabled by default. The system must have `exiftran` installed and in `$PATH`. This module has been tested successfully on elFinder versions 2.1.47, 2.1.20 and 2.1.16 on Ubuntu.

2019-02-26elfinder_php_connector_exiftran_cmd_injection.rb
estebanzarate/cve-2019-9194-elfinder-command-injection-poc
GH-bc367ddad0b6f1d20c7fb7dd69b604edGitHubUnofficial GitHub source

Command injection vulnerability in elFinder <= 2.1.47 via the PHP connector component. Allows unauthenticated remote code execution as the web server user.

2026-02-182 files · 2 stars