| 标题 | D-link D-Link DMS-3130 / DXS-3130 Series Switch Operating System D-Link DMS/DXS-3130 1.20.P006 OS command |
|---|
| 描述 | Authenticated OS command injection in `898_ssl_global.lua` through the `file_name` parameter.
Source-to-sink flow in `application/webroot/lua/DataStore/898_ssl_global.lua`:
1. Lines 63 and 158-164 obtain POST input and dispatch a request containing `file_name` after the read/write privilege check.
2. Line 69 assigns `form_post.file_name` to `src_file`.
3. Line 96 calls `usmDbHttpTransferFilePrepare`; line 99 obtains the SSL temporary path.
4. Line 100 derives the destination basename, but lines 104-106 interpolate and execute the original `src_file` without quoting.
`radisCertFile=1` selects the certificate-import branch. The same handler also supports private-key import, but the supplied PoC uses the certificate branch.
|
|---|
| 来源 | ⚠️ https://github.com/jiangnandiyishenqin/D-link-DMS_DXS-3130 |
|---|
| 用户 | Luminaa (UID 102745) |
|---|
| 提交 | 2026-11-05 11時34分 (24 日前) |
|---|
| 管理 | 2026-11-29 12時51分 (24 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 445160 [D-Link DMS-3130/DXS-3130 1.20.P006 SSL Certificate Import Endpoint 898_ssl_global.lua file_name 权限提升] |
|---|
| 积分 | 20 |
|---|