PT-2026-34598 · Unknown · Ci4Ms Theme
CVSS v4.0
9.4
Critical
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
Name of the Vulnerable Software and Affected Versions
CI4MS Theme (affected versions not specified)
Description
The upload function in CI4MS Theme fails to validate entry names when extracting user-uploaded ZIP archives. This allows an authenticated backend user with theme create permissions to perform a Zip Slip attack, which is a directory traversal flaw during archive extraction. By uploading a specially crafted ZIP file containing entries like
../../public/shell.php, an attacker can write files to arbitrary filesystem locations, such as the public web root, leading to remote code execution. The issue exists in the upload() function within the 'modules/Theme/Controllers/Theme.php' file, specifically where ZipArchive::extractTo() is called without verifying that the entries resolve inside the intended destination. The affected API endpoint is 'POST backend/themes/themesUpload'.Recommendations
As a temporary workaround, restrict access to the 'POST backend/themes/themesUpload' endpoint or revoke the theme create permission for users until a patch is available.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
RCE
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ci4Ms Theme