MaxSite CMS File Upload Vulnerability in save-file-ajax.php

Vulnerability

A file upload vulnerability has been identified in MaxSite CMS versions through 109. The issue resides in the file application/maxsite/admin/plugins/editor_files/save-file-ajax.php, where the POST parameters file_path and content can be manipulated to allow unrestricted file uploads. This vulnerability can be exploited remotely by authenticated users.

Impact

Exploitation of this vulnerability allows authenticated users to upload arbitrary files to the server, potentially overwriting existing files. In some cases, this could lead to remote code execution.

Reproduction

To reproduce this vulnerability, log into the MaxSite CMS backend as an administrator. Once logged in, send a POST request to the /ajax/ endpoint with the file_path parameter base64-encoded to include the path of the target file in the templates directory, such as info.php. The content parameter should include the desired file content. After the request is processed, the uploaded file can be accessed at the specified path, confirming the successful exploitation of the vulnerability.

Added: Oct 28, 2025, 3:17 AM
Updated: Oct 28, 2025, 3:17 AM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
2.5
exploitability
6.8
remediation
0.0
relevance
0.8
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.