Description
Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the getDetail function. The vulnerability is caused by insufficient filtering of the username and password fields before command execution. A remote attacker can trigger this vulnerability via crafted input to execute arbitrary commands with root privileges. Exploitation requires valid administrative credentials for the device's web management interface.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| DrayTek | VigorSwitch G2540xs | < 3.9.10 | 3.9.10 |
| DrayTek | VigorSwitch P2540xs | < 3.9.10 | 3.9.10 |
| DrayTek | VigorSwitch FX2120 | < 3.9.10 | 3.9.10 |
| DrayTek | VigorSwitch G2282x | < 2.10.6 | 2.10.6 |
| DrayTek | VigorSwitch P2282x | < 2.10.6 | 2.10.6 |
| DrayTek | VigorSwitch Q2300x | < 2.10.7 | 2.10.7 |
| DrayTek | VigorSwitch PQ2300xb | < 2.10.7 | 2.10.7 |
| DrayTek | VigorSwitch G2542x | < 3.10.6 | 3.10.6 |
| DrayTek | VigorSwitch P2542x | < 3.10.6 | 3.10.6 |
| DrayTek | VigorSwitch P2542xh | < 3.10.6 | 3.10.6 |
| DrayTek | VigorSwitch PX2060 | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch G1280 | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch P1280 | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch P1281x | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch G1282 | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch P1282 | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch G2121 | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch P2121 | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch PQ2121x | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch Q2121x | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch G2280x | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch P2280x | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch Q2200x | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch PQ2200xb | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch G2100 | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch P2100 | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch G2540x | < 2.9.10 | 2.9.10 |
| DrayTek | VigorSwitch P2540x | < 2.9.10 | 2.9.10 |
Advisories 2
- NCSC-2026-0328 Kwetsbaarheden verholpen in DrayTek VigorSwitch NCSC-NL (Netherlands) · Aug 26, 2026
- WID-SEC-2026-2991 DrayTek Vigor Switches: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Aug 24, 2026