Macrozheng Mall-Swarm Improper Authorization Vulnerability in Order Cancellation Function

Vulnerability

An authorization bypass vulnerability has been identified in Macrozheng Mall-Swarm versions through 1.0.3. The issue resides in the 'cancelUserOrder' function within the '/order/cancelUserOrder' file. This vulnerability allows remote attackers to manipulate the 'orderId' parameter, leading to unauthorized order cancellations. The flaw arises because the application fails to verify whether the order belongs to the user making the request.

Impact

Exploitation of this vulnerability allows attackers to cancel orders on behalf of other users by manipulating the 'orderId' parameter, resulting in unauthorized order cancellations and disrupted access control.

Reproduction

To reproduce this vulnerability, send a POST request to the '/order/cancelUserOrder' endpoint with an 'orderId' that belongs to another user. The application does not properly validate user permissions before canceling the order, allowing the request to succeed.

Added: Nov 13, 2025, 2:18 PM
Updated: Nov 13, 2025, 2:18 PM

Vulnerability Rating

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