# DrayTek Vigor2960 Case Index | Case ID | Directory | Title | Authentication | Quick Impact | |---|---|---|---|---| | `DRV2960-0002` | `DRV2960-0002-auth-alt-session-upload` [case](cases/DRV2960-0002-auth-alt-session-upload/README.md) | DrayTek Vigor2960 Hidden APM Upload Authentication Bypass Leading to Restricted Arbitrary File Upload | Unauthenticated | An unauthenticated request can enter the protected upload handler and write attacker-supplied files under `/data/apm/files/...`. | | `DRV2960-0005` | `DRV2960-0005-stale-output-apm-json` [case](cases/DRV2960-0005-stale-output-apm-json/README.md) | DrayTek Vigor2960 APM JSON Missing-Backend Success Translation | | The front-end or any automation client is misled into believing that a configuration action succeeded while the corresponding device state was never created. | | `DRV2960-0006` | `DRV2960-0006-authenticated-set-table-command-injection` [case](cases/DRV2960-0006-authenticated-set-table-command-injection/README.md) | DrayTek Vigor2960 Authenticated set_table JSONData Command Injection | Authenticated | An authenticated attacker can inject arbitrary shell commands through `jsondata` and execute them with the CGI process privileges on the device. | | `DRV2960-0007` | `DRV2960-0007-authenticated-jsonstatus-usefile-file-clobber` [case](cases/DRV2960-0007-authenticated-jsonstatus-usefile-file-clobber/README.md) | DrayTek Vigor2960 Authenticated `jsonstatus` File Operations and Multi-Sink Command Injection | Authenticated | An authenticated attacker can delete a chosen file and, on this device, further execute a script that was previously planted through the hidden upload route. | | `DRV2960-0008` | `DRV2960-0008-authenticated-upload-filename-command-injection` [case](cases/DRV2960-0008-authenticated-upload-filename-command-injection/README.md) | DrayTek Vigor2960 Upload Filename Command Injection Across Multiple Authenticated Routes | Authenticated | An authenticated attacker can trigger arbitrary shell command execution across multiple upload handlers, one route at a time. | | `DRV2960-0009` | `DRV2960-0009-authenticated-apmupload-path-traversal-clobber` [case](cases/DRV2960-0009-authenticated-apmupload-path-traversal-clobber/README.md) | DrayTek Vigor2960 Authenticated apmupload Path Traversal File Clobber | Authenticated | Because this CGI runs as root, an authenticated attacker can use path traversal to write attacker-controlled uploaded content to effectively arbitrary target paths outside the intended APM file area; `/var/status_system_interface` has been verified on the real device. | | `DRV2960-0010` | `DRV2960-0010-authenticated-commonupload-arbitrary-file-clobber` [case](cases/DRV2960-0010-authenticated-commonupload-arbitrary-file-clobber/README.md) | DrayTek Vigor2960 Authenticated `commonupload` Arbitrary File Clobber and Command Injection | Authenticated | Because this CGI runs as root, an authenticated attacker can write arbitrary uploaded content into effectively arbitrary target paths in the device filesystem; `/var/status_system_interface` has been verified on the real device. | | `DRV2960-0011` | `DRV2960-0011-authenticated-swmprofile-path-traversal-clobber` [case](cases/DRV2960-0011-authenticated-swmprofile-path-traversal-clobber/README.md) | DrayTek Vigor2960 Authenticated `setSWMProfile` Path Traversal and Filename Command Injection | Authenticated | Because this CGI runs as root, an authenticated attacker can use path traversal to write `setSWMProfile` data into effectively arbitrary target paths in the device filesystem; `/var/status_system_interface` has been verified on the real device. | | `DRV2960-0012` | `DRV2960-0012-authenticated-swmconfigupload-fieldname-path-traversal-clobber` [case](cases/DRV2960-0012-authenticated-swmconfigupload-fieldname-path-traversal-clobber/README.md) | DrayTek Vigor2960 Authenticated `swmconfigupload` Field-Name Path Traversal and Command Injection | Authenticated | Because this CGI runs as root, an authenticated attacker can write uploaded content into effectively arbitrary target paths in the device filesystem through the field name rather than the file name; `/var/status_system_interface` has been verified on the real device. | | `DRV2960-0013` | `DRV2960-0013-authenticated-rename-table-command-injection` [case](cases/DRV2960-0013-authenticated-rename-table-command-injection/README.md) | DrayTek Vigor2960 Authenticated rename_table Command Injection | Authenticated | An authenticated attacker can execute arbitrary shell commands through `newtable`. | | `DRV2960-0014` | `DRV2960-0014-authenticated-request-certificate-command-injection` [case](cases/DRV2960-0014-authenticated-request-certificate-command-injection/README.md) | DrayTek Vigor2960 Authenticated `ruequest_certificate` Command Injection | Authenticated | an authenticated attacker can execute arbitrary shell commands and obtain a reverse shell. | | `DRV2960-0015` | `DRV2960-0015-authenticated-swmconfigupload-fieldname-command-injection` [case](cases/DRV2960-0015-authenticated-swmconfigupload-fieldname-command-injection/README.md) | DrayTek Vigor2960 Authenticated `swmconfigupload` Multipart Field-Name Command Injection | Authenticated | an authenticated attacker can execute arbitrary shell commands and obtain a reverse shell. | | `DRV2960-0016` | `DRV2960-0016-authenticated-dowebbackup-path-traversal-clobber` [case](cases/DRV2960-0016-authenticated-dowebbackup-path-traversal-clobber/README.md) | DrayTek Vigor2960 Authenticated `doWebBackup` Path Traversal and Archive Command Injection | Authenticated | an authenticated attacker can select an archive output path outside the intended `/tmp` directory and trigger write, read-back, and deletion of that path. | | `DRV2960-0017` | `DRV2960-0017-authenticated-app-guest-export-path-traversal-write-delete` [case](cases/DRV2960-0017-authenticated-app-guest-export-path-traversal-write-delete/README.md) | DrayTek Vigor2960 Authenticated `app_guest_export` Path Traversal File Write/Read/Delete | Authenticated | an authenticated attacker can select an unexpected CSV export path and trigger write, read-back, and deletion of that path. | | `DRV2960-0018` | `DRV2960-0018-authenticated-apm-remove-device-partial-state-desync` [case](cases/DRV2960-0018-authenticated-apm-remove-device-partial-state-desync/README.md) | DrayTek Vigor2960 Authenticated apm_remove_device Partial State Desynchronization | Authenticated | The caller receives an error response while the device UCI state has already been partially deleted, causing a cross-store mismatch. | | `DRV2960-0019` | `DRV2960-0019-authenticated-set-table-config-field-command-injection` [case](cases/DRV2960-0019-authenticated-set-table-config-field-command-injection/README.md) | DrayTek Vigor2960 Authenticated `set_table` Config-Field Command Injection | Authenticated | an authenticated attacker can execute arbitrary shell commands and obtain a reverse shell. | | `DRV2960-0020` | `DRV2960-0020-authenticated-check-file-exist-direct-cgi-core` [case](cases/DRV2960-0020-authenticated-check-file-exist-direct-cgi-core/README.md) | DrayTek Vigor2960 Authenticated `check_file_exist` Heap Memory Corruption | Authenticated | an authenticated attacker can corrupt CGI process memory and crash the current `mainfunction.cgi` process. | | `DRV2960-0021` | `DRV2960-0021-authenticated-setswmprofile-filename-stack-overflow` [case](cases/DRV2960-0021-authenticated-setswmprofile-filename-stack-overflow/README.md) | DrayTek Vigor2960 `setSWMProfile` Filename Stack Overflow | Authenticated | stack corruption, return-address overwrite, and request CGI crash. | | `DRV2960-0022` | `DRV2960-0022-unauthenticated-apmcfgupload-filename-null-dereference` [case](cases/DRV2960-0022-unauthenticated-apmcfgupload-filename-null-dereference/README.md) | DrayTek Vigor2960 Hidden Upload Filename NULL-Pointer Write | Unauthenticated | unauthenticated `SIGSEGV` in the request CGI process. | | `DRV2960-0023` | `DRV2960-0023-authenticated-jsonstatus-usefile-stack-overflow` [case](cases/DRV2960-0023-authenticated-jsonstatus-usefile-stack-overflow/README.md) | DrayTek Vigor2960 `jsonstatus` Cross-Module Stack Overflow | Authenticated | cross-module stack overflow and control-flow state corruption. | | `DRV2960-0024` | `DRV2960-0024-authenticated-dataflowstatus-option-stack-overflow` [case](cases/DRV2960-0024-authenticated-dataflowstatus-option-stack-overflow/README.md) | DrayTek Vigor2960 `dataflowstatus` Option Parsing Stack Overflow | Authenticated | stack overflow, return-address overwrite, and request CGI crash. | | `DRV2960-0025` | `DRV2960-0025-authenticated-dowebbackup-stack-overflow` [case](cases/DRV2960-0025-authenticated-dowebbackup-stack-overflow/README.md) | DrayTek Vigor2960 `doWebBackup` Command-Buffer Stack Overflow | Authenticated | fixed-size stack-buffer overwrite and request CGI crash. | | `DRV2960-0026` | `DRV2960-0026-authenticated-app-guest-export-heap-overflow` [case](cases/DRV2960-0026-authenticated-app-guest-export-heap-overflow/README.md) | DrayTek Vigor2960 `app_guest_export` Filename Heap Overflow | Authenticated | heap-buffer overwrite and abnormal termination of the request CGI. | | `DRV2960-0027` | `DRV2960-0027-authenticated-cfgimport-off-by-one-return-address-corruption` [case](cases/DRV2960-0027-authenticated-cfgimport-off-by-one-return-address-corruption/README.md) | DrayTek Vigor2960 `cfgimport` One-Byte Return-Address Corruption | Authenticated | one-byte stack overwrite, saved return-address corruption, and request CGI crash. | | `DRV2960-0028` | `DRV2960-0028-authenticated-reset-keep-stack-overflow-safety-blocked` [case](cases/DRV2960-0028-authenticated-reset-keep-stack-overflow-safety-blocked/README.md) | DrayTek Vigor2960 `sub_1D004` Fixed-Buffer Stack Overflow Candidate | | | | `DRV2960-0029` | `DRV2960-0029-authenticated-apmupload-filename-command-injection` [case](cases/DRV2960-0029-authenticated-apmupload-filename-command-injection/README.md) | DrayTek Vigor2960 Authenticated APM Upload Filename Command Injection | Authenticated | An authenticated attacker can execute arbitrary shell commands. | | `DRV2960-0030` | `DRV2960-0030-authenticated-cvmupload-filename-command-injection` [case](cases/DRV2960-0030-authenticated-cvmupload-filename-command-injection/README.md) | DrayTek Vigor2960 Authenticated CVM Upload Filename Command Injection | Authenticated | An authenticated attacker can execute arbitrary shell commands. | | `DRV2960-0031` | `DRV2960-0031-authenticated-toswitch-command-injection` [case](cases/DRV2960-0031-authenticated-toswitch-command-injection/README.md) | DrayTek Vigor2960 Authenticated toSwitch SWM Command Injection | Authenticated | An authenticated attacker can execute arbitrary root shell commands. | | `DRV2960-0032` | `DRV2960-0032-authenticated-ap-map-config-command-injection` [case](cases/DRV2960-0032-authenticated-ap-map-config-command-injection/README.md) | DrayTek Vigor2960 Authenticated AP Map Configuration Command Injection | | Sink `11538`: `map_number` independently triggers root command execution through the first UCI command. | | `DRV2960-0033` | `DRV2960-0033-authenticated-ap-map-delete-command-injection` [case](cases/DRV2960-0033-authenticated-ap-map-delete-command-injection/README.md) | DrayTek Vigor2960 Authenticated AP Map Deletion Command Injection | | Sink `11617`: `map_number` triggers root command execution through the `uci delete` command. | | `DRV2960-0034` | `DRV2960-0034-authenticated-wlan-profile-delete-command-injection` [case](cases/DRV2960-0034-authenticated-wlan-profile-delete-command-injection/README.md) | DrayTek Vigor2960 Authenticated WLAN Profile Deletion Command Injection | | Both parameters can independently trigger root command execution. | | `DRV2960-0035` | `DRV2960-0035-authenticated-set-swm-option-command-injection` [case](cases/DRV2960-0035-authenticated-set-swm-option-command-injection/README.md) | DrayTek Vigor2960 Authenticated setSWMOption Command Injection | Authenticated | An authenticated attacker can execute arbitrary root shell commands. | | `DRV2960-0036` | `DRV2960-0036-authenticated-set-swm-account-command-injection` [case](cases/DRV2960-0036-authenticated-set-swm-account-command-injection/README.md) | DrayTek Vigor2960 Authenticated setSWMAccount Dual-Sink Command Injection | | `mac_addr` can trigger root command execution at two independent shell commands. | | `DRV2960-0037` | `DRV2960-0037-authenticated-cwmp-test-inform-command-injection` [case](cases/DRV2960-0037-authenticated-cwmp-test-inform-command-injection/README.md) | DrayTek Vigor2960 Authenticated CWMP SendTestInform Command Injection | Authenticated | An authenticated attacker can execute arbitrary root shell commands. | | `DRV2960-0038` | `DRV2960-0038-authenticated-openvpn-disconnect-command-injection` [case](cases/DRV2960-0038-authenticated-openvpn-disconnect-command-injection/README.md) | DrayTek Vigor2960 Authenticated OpenVPN Disconnect Command Injection | Authenticated | An authenticated attacker can execute arbitrary root shell commands. | | `DRV2960-0039` | `DRV2960-0039-authenticated-openvpn-config-download-command-injection` [case](cases/DRV2960-0039-authenticated-openvpn-config-download-command-injection/README.md) | DrayTek Vigor2960 Authenticated OpenVPN Configuration Download Command Injection | Authenticated | An authenticated attacker can execute arbitrary root shell commands. | | `DRV2960-0040` | `DRV2960-0040-authenticated-pppoe-terminate-command-injection` [case](cases/DRV2960-0040-authenticated-pppoe-terminate-command-injection/README.md) | DrayTek Vigor2960 Authenticated PPPoE Termination Command Injection | Authenticated | An authenticated attacker can execute arbitrary root shell commands. | | `DRV2960-0041` | `DRV2960-0041-authenticated-swm-autodiscovery-command-injection` [case](cases/DRV2960-0041-authenticated-swm-autodiscovery-command-injection/README.md) | DrayTek Vigor2960 Authenticated SWM Autodiscovery Cleanup Command Injection | Authenticated | An authenticated attacker can execute arbitrary root shell commands. | | `DRV2960-0042` | `DRV2960-0042-authenticated-admin-password-change-command-injection` [case](cases/DRV2960-0042-authenticated-admin-password-change-command-injection/README.md) | DrayTek Vigor2960 Administrator Password Change Command Injection | Authenticated | An attacker with an administrator session and the current password can execute arbitrary root shell commands. | | `DRV2960-0043` | `DRV2960-0043-authenticated-config-apply-error-command-injection` [case](cases/DRV2960-0043-authenticated-config-apply-error-command-injection/README.md) | DrayTek Vigor2960 Authenticated config_apply Error-Path Command Injection | | Sink `18400`: the failure path of the inner `modifyrow` operation in `set_table` can trigger root command execution. | | `DRV2960-0044` | `DRV2960-0044-authenticated-modifyrow-presection-command-injection` [case](cases/DRV2960-0044-authenticated-modifyrow-presection-command-injection/README.md) | DrayTek Vigor2960 Authenticated modifyrow presection Command Injection | Authenticated | An authenticated attacker can execute arbitrary root shell commands. | | `DRV2960-0045` | `DRV2960-0045-authenticated-check-file-exist-uci-commit-command-injection` [case](cases/DRV2960-0045-authenticated-check-file-exist-uci-commit-command-injection/README.md) | DrayTek Vigor2960 Authenticated check_file_exist UCI Commit Command Injection | Authenticated | An authenticated attacker can execute arbitrary root shell commands after satisfying the valid-UCI-package prerequisite. | | `DRV2960-0046` | `DRV2960-0046-portal-external-auth-initial-ipset-command-injection` [case](cases/DRV2960-0046-portal-external-auth-initial-ipset-command-injection/README.md) | DrayTek Vigor2960 Portal External-Authentication Initial ipset Command Injection | Portal external authentication | A portal user accepted by a configured external backend can execute root shell commands. | | `DRV2960-0047` | `DRV2960-0047-portal-ldap-ipset-command-injection` [case](cases/DRV2960-0047-portal-ldap-ipset-command-injection/README.md) | DrayTek Vigor2960 Portal LDAP User ipset Command Injection | Portal LDAP authentication | A portal user accepted by LDAP can execute root shell commands. | | `DRV2960-0048` | `DRV2960-0048-portal-sms-ipset-command-injection` [case](cases/DRV2960-0048-portal-sms-ipset-command-injection/README.md) | DrayTek Vigor2960 Portal SMS OTP User Dual-ipset Command Injection | Portal SMS OTP authentication | A portal user with a valid SMS OTP can execute root shell commands at two independent sinks. | | `DRV2960-0049` | `DRV2960-0049-portal-radius-ipset-command-injection` [case](cases/DRV2960-0049-portal-radius-ipset-command-injection/README.md) | DrayTek Vigor2960 Portal RADIUS User ipset Command Injection | Portal RADIUS authentication | A portal user accepted by RADIUS can execute root shell commands. | | `DRV2960-0050` | `DRV2960-0050-authenticated-commandtable-blacklist-command-injection` [case](cases/DRV2960-0050-authenticated-commandtable-blacklist-command-injection/README.md) | DrayTek Vigor2960 Authenticated commandTable Blacklist-Bypass Command Injection | Authenticated | An authenticated attacker can bypass the parameter blacklist and execute arbitrary root shell commands. | | `DRV2960-0051` | `DRV2960-0051-unauthenticated-activate-referer-stack-memory-corruption` [case](cases/DRV2960-0051-unauthenticated-activate-referer-stack-memory-corruption/README.md) | DrayTek Vigor2960 Unauthenticated `activate.cgi` `HTTP_REFERER` Stack Overflow and Saved Return-Address Corruption | Unauthenticated | An unauthenticated attacker can reliably corrupt the stack of the current `activate.cgi` request process. | | `DRV2960-0052` | `DRV2960-0052-unauthenticated-activate-license-host-modification` [case](cases/DRV2960-0052-unauthenticated-activate-license-host-modification/README.md) | DrayTek Vigor2960 Unauthenticated `activate.cgi` License Callback Host Modification | Unauthenticated | An unauthenticated attacker can modify the license callback host state. | | `DRV2960-0053` | `DRV2960-0053-authenticated-dowebbackup-cleanup-command-injection` [case](cases/DRV2960-0053-authenticated-dowebbackup-cleanup-command-injection/README.md) | DrayTek Vigor2960 Authenticated `doWebBackup` Cleanup Command Injection | Authenticated | authenticated arbitrary command execution as root. | | `DRV2960-0054` | `DRV2960-0054-authenticated-set-swm-group-command-injection` [case](cases/DRV2960-0054-authenticated-set-swm-group-command-injection/README.md) | DrayTek Vigor2960 Authenticated `setSWMGroup` Command Injection | Authenticated | authenticated arbitrary command execution as root. | | `DRV2960-0055` | `DRV2960-0055-authenticated-set-swm-profile-command-injection` [case](cases/DRV2960-0055-authenticated-set-swm-profile-command-injection/README.md) | DrayTek Vigor2960 Authenticated `setSWMProfile` Command Injection in Two Branches | Authenticated | authenticated arbitrary command execution as root at both sinks. |