Moss File Upload Vulnerability Allowing Arbitrary File Uploads

Vulnerability

A file upload vulnerability has been identified in Moss versions prior to 0.15. The issue allows attackers to upload files of any extension to any location on the target server. The vulnerability arises from the 'upload' function configuration, which does not validate file extensions after upload, enabling path traversal and arbitrary file uploads.

Impact

Exploitation of this vulnerability allows for arbitrary file uploads, which could lead to further attacks such as remote code execution, depending on the server's file handling and execution policies.

Reproduction

To reproduce this vulnerability, send a POST request to the '/admin/api/config/upload' or '/admin/api/upload' endpoint. Include a JSON payload that specifies the upload configuration, such as the 'domain' path, 'storage' driver, and the file to be uploaded. The uploaded file will be placed in the user's directory on the server.

Added: Aug 21, 2025, 3:20 PM
Updated: Aug 21, 2025, 3:20 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
0.0
relevance
0.4
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.