CVE-2025-5130 Details
Description
A vulnerability was found in Tmall Demo up to 20250505. It has been classified as critical. This affects the function uploadProductImage of the file tmall/admin/uploadProductImage. The manipulation of the argument File leads to unrestricted upload. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not 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 'uploadProductImage' function within 'tmall/admin/uploadProductImage'. This vulnerability allows remote attackers to upload malicious files, such as web shells, viruses, and scripts, potentially leading to server control or sensitive information theft. The vulnerability arises from a lack of file content and name validation, enabling unrestricted file uploads. Exploitation is possible by uploading a JSP file containing executable code, which can then be accessed and executed on the server.
Implement strict file type restrictions on uploads, allowing only specific formats such as images or documents. Validate file headers to ensure compliance with allowed types. Restrict execution permissions on upload directories to prevent script execution. Rename uploaded files to random names to avoid predictable paths and scan files for malicious content before processing.
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/9 | CISA-ADP | ExploitIssue TrackingThird Party Advisory |
| https://github.com/bdkuzma/vuln/issues/9 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://vuldb.com/?ctiid.310209 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.310209 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.571893 | [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 16, 2025 | Initial Analysis | [email protected] |
| May 28, 2025 | CVE Modified | CISA-ADP |
| May 24, 2025 | New CVE Received | [email protected] |