Description Preview
A remote command execution vulnerability exists in DrayTek Vigor2960 version 1.5.1. This vulnerability allows an attacker to execute arbitrary commands on the affected system by injecting shell metacharacters in the toLogin2FA action to the mainfunction.cgi endpoint. This is classified as a CWE-78 (OS Command Injection) vulnerability, which could lead to complete system compromise.
Overview
The vulnerability affects DrayTek Vigor2960 firmware version 1.5.1, as well as Vigor3900 and Vigor300B models as indicated in the vendor's security advisory. The issue stems from improper validation of user input in the toLogin2FA action parameter of the mainfunction.cgi script. An attacker can exploit this vulnerability by sending specially crafted HTTP requests containing shell metacharacters to execute arbitrary commands on the affected device with the privileges of the web server process. This could potentially lead to unauthorized access, information disclosure, and complete compromise of the affected system.
Remediation
To address this vulnerability, users should:
- Update to the latest firmware version provided by DrayTek for their specific model.
- According to the DrayTek security advisory, firmware updates are available to patch this vulnerability.
- Implement network segmentation to restrict access to the management interface of affected devices.
- Monitor for suspicious activities that might indicate exploitation attempts.
- Consider implementing additional security controls such as IP filtering to limit access to the device's management interface.
- Ensure that the device is not directly accessible from the internet.
References
- DrayTek Security Advisory: https://www.draytek.com/about/security-advisory/vigor3900-/-vigor2960-/-vigor300b-remote-code-injection/execution-vulnerability-%28cve-2020-19664%29/
- Exploit details and proof of concept: https://github.com/minghangshen/bug_poc
- Third-party security analysis: https://nosec.org/home/detail/4631.html
- CWE-78: OS Command Injection: https://cwe.mitre.org/data/definitions/78.html
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- Accommodation & Food ServicesAccommodation & Food Services
- Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services
- Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting
- Arts, Entertainment & RecreationArts, Entertainment & Recreation
- ConstructionConstruction
- Educational ServicesEducational Services
- Finance and InsuranceFinance and Insurance
- Health Care & Social AssistanceHealth Care & Social Assistance
- InformationInformation
- Management of Companies & EnterprisesManagement of Companies & Enterprises
- ManufacturingManufacturing
- MiningMining
- Other Services (except Public Administration)Other Services (except Public Administration)
- Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services
- Public AdministrationPublic Administration
- Real Estate Rental & LeasingReal Estate Rental & Leasing
- Retail TradeRetail Trade
- Transportation & WarehousingTransportation & Warehousing
- UtilitiesUtilities
- Wholesale TradeWholesale Trade