| Title | ningzichun student-management-system 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Hard-coded Credentials |
|---|
| Description | The affected components are `config/database.php` and `config/adminer.php`. `config/database.php:3` commits the MySQL host, username, password, and database name in source as `mysqli_connect("localhost","hw","hwhwhw","hw")`. `config/adminer.php:1-8` bundles Adminer 4.7.5 in the web-served application tree and is directly reachable at `/config/adminer.php` when the repository is deployed as the document root. Deployments that retain the committed connection configuration expose a database-administration login interface usable with publicly disclosed credentials, permitting direct database access and modification. |
|---|
| Source | ⚠️ https://github.com/ningzichun/student-management-system/issues/15 |
|---|
| User | ctrl (UID 99919) |
|---|
| Submission | 07/29/2026 20:06 (1 month ago) |
|---|
| Moderation | 09/08/2026 11:36 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 399764 [ningzichun Student Management System up to 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Database Connection config/database.php mysqli_connect hard-coded credentials] |
|---|
| Points | 20 |
|---|