| Titre | 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. |
|---|
| La source | ⚠️ https://github.com/ningzichun/student-management-system/issues/15 |
|---|
| Utilisateur | ctrl (UID 99919) |
|---|
| Soumission | 29/07/2026 20:06 (il y a 1 mois) |
|---|
| Modérer | 08/09/2026 11:36 (1 month later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 399764 [ningzichun Student Management System Database Connection config/database.php mysqli_connect authentification faible] |
|---|
| Points | 20 |
|---|