| Title | jprocms jprocms 1.7.2 OS Command Injection |
|---|
| Description | 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. |
|---|
| Source | ⚠️ https://ucn9h68n9289.feishu.cn/wiki/ZkAEwbKNSitfe4kKz9GcEtNXnY6?from=from_copylink |
|---|
| User | Anonymous User |
|---|
| Submission | 10/23/2026 03:01 (29 days ago) |
|---|
| Moderation | 11/21/2026 04:27 (29 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 441683 [jprocms up to 1.7.7 Database Backup StrUtil.format host/port/username/password/dbName os command injection] |
|---|
| Points | 20 |
|---|