| Title | D-link D-Link DMS-3130 / DXS-3130 Series Switch Operating System D-Link DMS/DXS-3130 1.20.P006 OS command |
|---|
| Description | Authenticated OS command injection in `464_Nuclias_Manager_Settings.lua` through the `nuclias_manager_profile_src_file_name` parameter.
Source-to-sink flow in `application/webroot/lua/DataStore/464_Nuclias_Manager_Settings.lua`:
1. Lines 146-150 obtain POST input and assign `nuclias_manager_profile_src_file_name` to `input_nuclias_manager_profile_file_name`.
2. Lines 209-210 enforce the read/write privilege check.
3. Lines 258-259 pass the value to `http_import_nuclias_manager_profile()` when it is non-empty.
4. Line 63 assigns the function argument to `src_file`; line 83 selects the fixed `/mnt/download/` destination directory.
5. Lines 88-89 construct and execute the unquoted `mv` command.
6. Only afterward, at lines 260-262, does the script validate the imported Nuclias Manager profile. |
|---|
| Source | ⚠️ https://github.com/jiangnandiyishenqin/D-link-DMS_DXS-3130 |
|---|
| User | Luminaa (UID 102745) |
|---|
| Submission | 11/05/2026 11:35 (24 days ago) |
|---|
| Moderation | 11/29/2026 12:51 (24 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 445161 [D-Link DMS-3130/DXS-3130 1.20.P006 Nuclias Manager Profile Import 464_Nuclias_Manager_Settings.lua http_import_nuclias_manager_profile nuclias_manager_profile_src_file_name os command injection] |
|---|
| Points | 20 |
|---|