Submit #908932: ningzichun student-management-system 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Hard-coded Credentialsinfo

Titleningzichun student-management-system 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Hard-coded Credentials
DescriptionThe 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)
Submission07/29/2026 20:06 (1 month ago)
Moderation09/08/2026 11:36 (1 month later)
StatusAccepted
VulDB entry399764 [ningzichun Student Management System up to 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Database Connection config/database.php mysqli_connect hard-coded credentials]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!