Dcat-Admin Unrestricted File Upload Vulnerability in User Settings Page

Vulnerability

A file upload vulnerability allowing unrestricted file types has been identified in Dcat-Admin versions through 2.2.3-beta. The issue resides in the User Setting Page, specifically within the editorMDUpload function of the file /admin/dcat-api/editor-md/upload. This vulnerability can be exploited remotely, as the upload request lacks proper security checks, enabling the execution of arbitrary PHP code on the server.

Impact

Exploitation of this vulnerability allows for arbitrary PHP code execution on the server, potentially leading to full control over the affected system.

Reproduction

To reproduce this vulnerability, log into the system backend and upload any image file to initiate a normal upload process. Capture the network packet of this upload request. Then, send the captured request to a repeater tool, such as Burp Suite's Repeater. Modify the request by changing the upload endpoint to 'dcat-api/editor-md/upload' and replace the request body with a crafted payload, such as a malicious PHP file. Ensure not to alter the '_token' parameter, as this will trigger a token error. After sending the modified request, access the uploaded file through the corresponding link, which will execute the uploaded PHP code, demonstrating successful exploitation.

Added: Jun 9, 2026, 3:21 AM
Updated: Jun 9, 2026, 3:21 AM

Vulnerability Rating

Custom Algorithm
spread
5.2
impact
10.0
exploitability
6.8
remediation
0.0
relevance
9.3
threat
6.4
urgency
2.9
incentive
0.0

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