CVE-2022-50939

e107 CMS version 3.2.1 contains a critical file upload vulnerability that allows authenticated administrators to override arbitrary server files through path traversal. The vulnerability exists in the Media Manager's remote URL upload functionality (image.php) where the upload_caption parameter is not properly sanitized. An attacker with administrative privileges can use directory traversal sequences (../../../) in the upload_caption field to overwrite critical system files outside the intended upload directory. This can lead to complete compromise of the web application by overwriting configuration files, executable scripts, or other critical system components. The vulnerability was discovered by Hubert Wojciechowski and affects the image.php component in the admin interface.
Configurations

Configuration 1 (hide)

cpe:2.3:a:e107:e107:3.2.1:*:*:*:*:*:*:*

History

17 Jun 2026, 05:24

Type Values Removed Values Added
Summary
  • (es) e107 CMS versión 3.2.1 contiene una vulnerabilidad crítica de carga de archivos que permite a los administradores autenticados sobrescribir archivos arbitrarios del servidor a través de salto de ruta. La vulnerabilidad existe en la funcionalidad de carga de URL remota del Administrador de Medios (image.PHP) donde el parámetro upload_caption no se sanitiza correctamente. Un atacante con privilegios administrativos puede usar secuencias de salto de directorio (../../../) en el campo upload_caption para sobrescribir archivos críticos del sistema fuera del directorio de carga previsto. Esto puede llevar a un compromiso completo de la aplicación web al sobrescribir archivos de configuración, scripts ejecutables u otros componentes críticos del sistema. La vulnerabilidad fue descubierta por Hubert Wojciechowski y afecta al componente image.PHP en la interfaz de administración.

20 Jan 2026, 18:03

Type Values Removed Values Added
CPE cpe:2.3:a:e107:e107:3.2.1:*:*:*:*:*:*:*
References () https://e107.org/ - () https://e107.org/ - Product
References () https://e107.org/download - () https://e107.org/download - Product
References () https://www.exploit-db.com/exploits/50910 - () https://www.exploit-db.com/exploits/50910 - Exploit, Third Party Advisory, VDB Entry
References () https://www.vulncheck.com/advisories/e-cms-upload-restriction-bypass-with-path-traversal-file-override - () https://www.vulncheck.com/advisories/e-cms-upload-restriction-bypass-with-path-traversal-file-override - Third Party Advisory
First Time E107
E107 e107

14 Jan 2026, 20:15

Type Values Removed Values Added
References () https://www.exploit-db.com/exploits/50910 - () https://www.exploit-db.com/exploits/50910 -

13 Jan 2026, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-13 23:15

Updated : 2026-06-17 05:24


NVD link : CVE-2022-50939

Mitre link : CVE-2022-50939

CVE.ORG link : CVE-2022-50939


JSON object : View

Products Affected

e107

  • e107
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-434

Unrestricted Upload of File with Dangerous Type