zhousg letao Unrestricted File Upload Vulnerability in Product.js

Vulnerability

A critical vulnerability allowing unrestricted file uploads has been identified in zhousg letao versions up to 7d8df0386a65228476290949e0413de48f7fbe98. The issue arises in the file routes\bf\product.js, where the pictrdtz argument can be manipulated to upload malicious files with arbitrary extensions. This vulnerability can be exploited remotely and has been publicly disclosed, with an available proof-of-concept exploit.

Impact

Exploitation of this vulnerability allows for arbitrary file uploads, which could lead to remote code execution if server-side scripts are uploaded and executed. Additionally, files with certain extensions could be used to create stored cross-site scripting (XSS) attacks.

Reproduction

The vulnerability can be reproduced by uploading files through the '/addProductPic' endpoint using the 'pic1', 'pic2', or 'pic3' parameters. Files uploaded with these parameters will be saved on the server, and the response will include the file name and URL. If arbitrary parameter names are used, the files will still be uploaded but without any confirmation or URL information in the response.

Added: Jul 25, 2025, 4:18 AM
Updated: Jul 25, 2025, 4:18 AM

Vulnerability Rating

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