| tiêu đề | diem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad OS Command Injection |
|---|
| Mô tả | The affected administrative console is implemented in `dmAdminPlugin/modules/dmConsole/actions/actions.class.php`. `executeCommand()` obtains the attacker-controlled `dm_command` parameter, checks only the first space-delimited token against an allowlist, and then sends the complete unescaped command string to `passthru()`. For example, `ls ; id #` passes the `ls` allowlist check but is executed by the shell as two commands. A user holding the `system` credential can therefore execute arbitrary operating-system commands as the PHP/web-server account, leading to application compromise, data disclosure, or modification of server-side files. |
|---|
| Nguồn | ⚠️ https://github.com/diem-project/diem/issues/447 |
|---|
| Người dùng | milocat (UID 99840) |
|---|
| Đệ trình | 17/07/2026 15:17 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 30/08/2026 18:38 (1 month later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 397173 [diem-project diem đến 5.1.3 Administrative Console actions.class.php executeCommand dm_command nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|