| Название | ningzichun student-management-system 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Hard-coded Credentials |
|---|
| Описание | 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. |
|---|
| Источник | ⚠️ https://github.com/ningzichun/student-management-system/issues/15 |
|---|
| Пользователь | ctrl (UID 99919) |
|---|
| Представление | 29.07.2026 20:06 (1 месяц назад) |
|---|
| Модерация | 08.09.2026 11:36 (1 month later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 399764 [ningzichun Student Management System до 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Database Connection config/database.php mysqli_connect слабая аутентификация] |
|---|
| Баллы | 20 |
|---|