vendor:
4images
by:
Andrey Stoykov
9.8
CVSS
CRITICAL
Remote Command Execution (RCE)
78
CWE
Product Name: 4images
Affected Version From: 1.9
Affected Version To: 1.9
Patch Exists: YES
Related CWE:
CPE: 4images
Platforms Tested: Ubuntu 20.04
2020
4images 1.9 – Remote Command Execution (RCE)
A vulnerability in 4images 1.9 allows an authenticated administrator user to execute arbitrary code on the server by uploading a malicious template. To exploit the vulnerability, an attacker must first login as an administrator user, then browse to General -> Edit Templates -> Select Template Pack -> default_960px -> Load Theme. The attacker then selects the template categories.html and inserts a reverse shell payload. After clicking Save Changes, the attacker browses to http://host/4images/categories.php?cat_id=3D1 and a reverse shell is established.
Mitigation:
Upgrade to the latest version of 4images 1.9 or apply the patch provided by the vendor.