Submit #1075827: D-Link D-Link DMS-3130 / DXS-3130 Series Switch Operating System D-Link DMS/DXS-3130 1.20.P006 OS commandinfo

TitleD-Link D-Link DMS-3130 / DXS-3130 Series Switch Operating System D-Link DMS/DXS-3130 1.20.P006 OS command
DescriptionAuthenticated OS command injection in `369_copyfile.lua` through the `http_src_file` parameter. V1 — `369_copyfile.lua` / `http_src_file` Source-to-sink flow in `application/webroot/lua/DataStore/369_copyfile.lua`: 1. Line 509 obtains POST data through `get_user_input()`; lines 540-549 dispatch a POST containing `http_src_file` to `http_file_transfer_download()`. 2. Line 83 assigns `fpost.http_src_file` to `src_file`. 3. Lines 110-147 select the file-transfer operation and prepare the HTTP transfer. `hiddest_filetype=1` selects the firmware-image branch used by the PoC. 4. Line 150 applies `strip_filename(src_file)` only to derive `web_temp_file`. 5. Lines 154-156 construct and execute `mv %s %s%s` with the original, unquoted `src_file`.
Source⚠️ https://github.com/jiangnandiyishenqin/D-link-DMS_DXS-3130
User
 Luminaa (UID 102745)
Submission11/05/2026 11:32 (24 days ago)
Moderation11/29/2026 12:51 (24 days later)
StatusAccepted
VulDB entry445159 [D-Link DMS-3130/DXS-3130 1.20.P006 369_copyfile.lua http_src_file os command injection]
Points20

Do you know our Splunk app?

Download it now for free!