| 标题 | 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) |
|---|
| 提交 | 2026-07-29 20時06分 (1 月前) |
|---|
| 管理 | 2026-09-08 11時36分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 399764 [ningzichun Student Management System 直到 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Database Connection config/database.php mysqli_connect 弱身份验证] |
|---|
| 积分 | 20 |
|---|