jerryshensjf JPACookieShop Unrestricted File Upload Vulnerability

Vulnerability

A critical vulnerability allowing arbitrary file uploads has been identified in jerryshensjf JPACookieShop version 1.0. The issue arises in the addGoods function within GoodsController.java, where image upload features lack proper validation and restrictions, enabling the upload of any file type. This vulnerability can be exploited remotely.

Impact

Exploitation of this vulnerability allows for unrestricted file uploads, which could lead to the upload of malicious files that are processed within the application's environment. Such actions could potentially be used to execute arbitrary code or disrupt application functionality.

Reproduction

To reproduce this vulnerability, log into the application as an admin. Navigate to the 'Add Product' feature in the backend management system. Upload an image file through the provided upload functionality. Due to the absence of proper validation, any file type can be uploaded, including potentially harmful files.

Added: Jul 22, 2025, 12:08 AM
Updated: Jul 22, 2025, 12:08 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.1
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.