Command injection vulnerability in getDetail function in DrayTek VigorSwitch models
DrayTek Corporation VigorSwitch G2540xs
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v4.0
- Published:
- Updated:
- EPSS:
- 1.555%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:DrayTek Corporation | VigorSwitch G2540xs | Affected versions: < 3.9.10 |
| Vendor:DrayTek Corporation | VigorSwitch P2540xs | Affected versions: < 3.9.10 |
| Vendor:DrayTek Corporation | VigorSwitch FX2120 | Affected versions: < 3.9.10 |
| Vendor:DrayTek Corporation | VigorSwitch G2282x | Affected versions: < 2.10.6 |
| Vendor:DrayTek Corporation | VigorSwitch P2282x | Affected versions: < 2.10.6 |
| Vendor:DrayTek Corporation | VigorSwitch Q2300x | Affected versions: < 2.10.7 |
| Vendor:DrayTek Corporation | VigorSwitch PQ2300xb | Affected versions: < 2.10.7 |
| Vendor:DrayTek Corporation | VigorSwitch G2542x | Affected versions: < 3.10.6 |
| Vendor:DrayTek Corporation | VigorSwitch P2542x | Affected versions: < 3.10.6 |
| Vendor:DrayTek Corporation | VigorSwitch P2542xh | Affected versions: < 3.10.6 |
1–10 of 28 · Page 1 of 3
CVSS scores and metrics4
VulnCheck · CVE List / CNA (cna)Primary8.6 / 10HighCVSS 4.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Not required
- Attack requirements
- None
- Subsequent confidentiality
- None
- Subsequent integrity
- None
- Subsequent availability
- None
Source vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N[email protected] · NVD (Secondary)8.6 / 10HighCVSS 4.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Not required
- Attack requirements
- None
- Subsequent confidentiality
- None
- Subsequent integrity
- None
- Subsequent availability
- None
Source vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XVulnCheck · CVE List / CNA (cna)7.2 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Secondary)7.2 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories5
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences