springboot-openai-chatgpt Hardcoding administrator users

## Intro

Hardcoding administrator users refers to the practice of embedding administrator credentials directly into the code or configuration files of a system. This approach can lead to security vulnerabilities, as it makes it easier for unauthorized individuals to access administrative functions if they can view or exploit the code.

To enhance security, consider using dynamic user management systems, environment variables, or secure access controls instead of hardcoding sensitive information.

 

## PoC

use the phone, code pair (13800138000 , 888888) login the system.

 

## Reuslt

Access the administrator privilege with the hardcoded number

posted @ 2025-02-23 16:16  Aibot  阅读(99)  评论(0)    收藏  举报