Springboot-OpenAI-ChatGPT Improper Authorization Vulnerability

Vulnerability

A critical improper authorization vulnerability has been identified in the Springboot-OpenAI-ChatGPT application, specifically in version e84f6f5. The issue arises in the User Handler component, within the submit function of the file /api/blade-user/submit. This vulnerability allows ordinary users to create super administrator accounts by exploiting the lack of permission checks, thereby exceeding their authorized privileges. The vulnerability can be exploited remotely, without any authentication requirements.

Impact

Exploitation of this vulnerability leads to unauthorized privilege escalation, allowing users to create super administrator accounts.

Reproduction

To reproduce this vulnerability, log into the application as a regular user. Then, send a request to the /api/blade-user/submit endpoint. Since the application does not perform any authorization checks on this endpoint, it is possible to create new administrator accounts, even with a standard user account.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.