PandoraNext-TokensTool Authentication Bypass Vulnerability

Vulnerability

An authentication bypass vulnerability has been identified in PandoraNext-TokensTool versions through 0.6.8. This vulnerability allows attackers to access the API without a valid token. The issue arises in the 'LoginCheckInterceptor' class, specifically within the 'preHandle' function. The interceptor improperly validates requests by using 'req.getRequestURL()' to check the request path. This method fails to correctly parse special characters, enabling attackers to manipulate the URL and bypass authentication checks. For example, appending ';login' to certain API endpoints can circumvent the authentication requirement and access restricted data.

Impact

Exploitation of this vulnerability allows unauthorized access to the API, enabling users to retrieve sensitive information, such as system configuration data, without proper authentication.

Reproduction

To reproduce this vulnerability, send a request to the '/api/selectSetting' endpoint without a token. The response will indicate that authentication is required. However, if the same request is made with ';login' appended to the URL, the authentication check will be bypassed, and the system configuration data will be returned.

Added: Aug 21, 2025, 6:21 PM
Updated: Aug 21, 2025, 7:19 PM

Vulnerability Rating

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