| 标题 | jprocms jprocms 1.7.2 OS Command Injection |
|---|
| 描述 | he database backup feature of jprocms is affected by an OS Command Injection vulnerability that leads to Remote Code Execution (RCE). When creating a database connection configuration in the admin "Database Backup" module, the fields host, port, username, password and dbName are persisted verbatim, without any character whitelist or escaping/validation. When a user triggers "Backup" (or "Restore"), the application uses StrUtil.format to concatenate these fields into the mysqldump/mysql command template, which is finally handed to the shell for interpretation via ["/bin/sh","-c","./" + command] (Linux) or ["cmd","/c",command] (Windows). Any (sub-)administrator holding the backup permission can inject shell metacharacters such as ;, # or > into dbName, achieving arbitrary OS command execution with the privileges of the service process (root in the reproduction environment) and thus full control of the server. |
|---|
| 来源 | ⚠️ https://ucn9h68n9289.feishu.cn/wiki/ZkAEwbKNSitfe4kKz9GcEtNXnY6?from=from_copylink |
|---|
| 用户 | Anonymous User |
|---|
| 提交 | 2026-10-23 03時01分 (29 日前) |
|---|
| 管理 | 2026-11-21 04時27分 (29 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 441683 [jprocms 直到 1.7.7 Database Backup StrUtil.format host/port/username/password/dbName 权限提升] |
|---|
| 积分 | 20 |
|---|