CVE-2022-50912
CRITICALCVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
3Tags
Description
ImpressCMS 1.4.4 contains a file upload vulnerability with weak extension sanitization that allows attackers to upload potentially malicious files. Attackers can bypass file upload restrictions by using alternative file extensions .php2.php6.php7.phps.pht to execute arbitrary PHP code on the server.
Analysis
ImpressCMS 1.4.4 has weak file upload extension filtering that can be bypassed using alternative PHP extensions (.php2, .php6, .php7, .phps, .pht). PoC available.
Technical Context
The upload filter only blocks .php but not alternative PHP extensions (CWE-434). Extensions like .php7, .pht, and others are processed by Apache's PHP handler depending on configuration.
Affected Products
ImpressCMS 1.4.4
Remediation
Implement a whitelist of allowed extensions rather than a blacklist. Restrict PHP processing to .php only in Apache config.
Priority Score
Share
External POC / Exploit Code
Leaving vuln.today