CVE-2025-5131 Details
Description
A vulnerability was found in Tmall Demo up to 20250505. It has been declared as critical. This vulnerability affects the function uploadCategoryImage of the file tmall/admin/uploadCategoryImage. The manipulation of the argument File leads to unrestricted upload. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. The vendor was contacted early about this disclosure but did not respond in any way.
A critical arbitrary file upload vulnerability has been identified in Tmall Demo versions prior to 20250505. The issue resides in the 'uploadCategoryImage' function within the 'tmall/admin/uploadCategoryImage' file. This vulnerability allows remote attackers to upload malicious files, such as web shells, viruses, and scripts, potentially leading to unauthorized server control or theft of sensitive information. The vulnerability exists due to a lack of proper validation and filtering of file names and contents, allowing for unrestricted file uploads. Additionally, the system's support for JSP parsing could be exploited to execute commands or upload backdoor scripts, according to the vulnerability disclosure.
To address this vulnerability, it is recommended to implement strict file upload controls by allowing only specific file types, such as images or documents, and verifying file headers. Additionally, the permissions of the upload directory should be restricted to prevent script execution, uploaded files should be renamed randomly to avoid predictable paths, and uploaded content should be scanned for malicious code.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bdkuzma/vuln/issues/10 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/bdkuzma/vuln/issues/10 | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.310210 | [email protected] | Permissions Required |
| https://vuldb.com/?id.310210 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.571901 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
| CWE-284 | Improper Access Control | [email protected] |
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| project team tmall demo | <= 2025-05-05 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 3, 2025 | Initial Analysis | [email protected] |
| May 28, 2025 | CVE Modified | CISA-ADP |
| May 24, 2025 | New CVE Received | [email protected] |