| 标题 | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Hard-coded Credentials |
|---|
| 描述 | The affected configuration files `ssm_pro/src/main/resources/jdbc.properties` and `ssm_pro/src/main/resources/system_config.properties` contain committed database and SMTP authentication values. The database properties are loaded by `spring/spring-dao.xml` (lines 9 and 22-25), while `MailUtil.java` injects and uses the SMTP account and password at lines 20-27 and 39-45. Deployments that use these supplied configurations expose shared privileged database and mail credentials to anyone with repository access, enabling unauthorized access to backend data or use of the application's mail account.
|
|---|
| 来源 | ⚠️ https://github.com/sfturing/hosp_order/issues/119 |
|---|
| 用户 | zbzz (UID 100167) |
|---|
| 提交 | 2026-07-28 18時22分 (2 月前) |
|---|
| 管理 | 2026-09-23 14時48分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 408950 [sfturing hosp_order 直到 627f426331da8086ce8fff2017d65b1ddef384f8 jdbc.properties 弱身份验证] |
|---|
| 积分 | 20 |
|---|