Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-20123

CVE-2021-20123: Draytek VigorConnect Path Traversal Flaw

CVE-2021-20123 is a path traversal vulnerability in Draytek VigorConnect that enables unauthenticated attackers to download arbitrary files with root privileges. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2021-20123 Overview

A local file inclusion vulnerability exists in Draytek VigorConnect 1.6.0-B3 in the file download functionality of the DownloadFileServlet endpoint. An unauthenticated attacker could leverage this vulnerability to download arbitrary files from the underlying operating system with root privileges. This path traversal flaw allows malicious actors to access sensitive configuration files, credentials, and other critical system data without any authentication requirements.

Critical Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Unauthenticated attackers can exfiltrate arbitrary files with root-level access, potentially exposing sensitive system configurations, credentials, and proprietary data.

Affected Products

  • Draytek VigorConnect 1.6.0-B3 (Beta 3)
  • Draytek VigorConnect versions prior to patched releases
  • Systems running vulnerable DownloadFileServlet endpoint

Discovery Timeline

  • 2021-10-13 - CVE-2021-20123 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2021-20123

Vulnerability Analysis

This Local File Inclusion (LFI) vulnerability resides in the DownloadFileServlet endpoint of Draytek VigorConnect's web interface. The vulnerability stems from inadequate input validation in the file download functionality, allowing attackers to manipulate file path parameters to traverse directories and access files outside the intended web root.

The exploitation requires no authentication, making it particularly dangerous for internet-exposed VigorConnect installations. Successful exploitation grants attackers the ability to read arbitrary files with the same privileges as the web server process, which in this case runs with root-level access. This means attackers can potentially retrieve critical system files such as /etc/passwd, /etc/shadow, SSH keys, application configuration files containing credentials, and other sensitive data.

Root Cause

The root cause is improper input validation and insufficient sanitization of user-supplied file path parameters in the DownloadFileServlet endpoint. The application fails to properly validate and sanitize path traversal sequences (such as ../) in file path parameters, allowing attackers to escape the intended directory structure. This falls under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, commonly known as Path Traversal).

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can craft malicious HTTP requests to the DownloadFileServlet endpoint containing directory traversal sequences to navigate outside the web application's root directory. By manipulating the file path parameter with sequences like ../../../, attackers can traverse up the directory structure and access arbitrary files on the system.

The vulnerability is particularly severe because:

  • No authentication is required to exploit it
  • The web service runs with root privileges, granting access to all system files
  • It can be exploited remotely over the network
  • Successful exploitation reveals sensitive system information that can facilitate further attacks

For detailed technical analysis of this vulnerability, refer to the Tenable Research Report.

Detection Methods for CVE-2021-20123

Indicators of Compromise

  • HTTP requests to /DownloadFileServlet containing path traversal sequences such as ../, ..%2f, or ..%5c
  • Unusual file access patterns in web server logs targeting the DownloadFileServlet endpoint
  • Access attempts to sensitive system files like /etc/passwd, /etc/shadow, or configuration files through the web interface
  • Network traffic from external sources targeting the VigorConnect management interface on non-standard ports

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block path traversal patterns in HTTP requests
  • Monitor web server access logs for requests containing directory traversal sequences targeting DownloadFileServlet
  • Deploy intrusion detection systems (IDS) with signatures for LFI exploitation attempts
  • Utilize SIEM correlation rules to identify multiple file access attempts from single source IPs

Monitoring Recommendations

  • Enable detailed logging for the VigorConnect web application and review logs for suspicious activity
  • Set up alerts for any access to the DownloadFileServlet endpoint from external IP addresses
  • Monitor for unauthorized file access events at the operating system level
  • Implement network segmentation and monitor traffic to management interfaces

How to Mitigate CVE-2021-20123

Immediate Actions Required

  • Restrict network access to the VigorConnect management interface to trusted IP addresses only
  • Place VigorConnect behind a properly configured reverse proxy or web application firewall
  • Apply vendor patches immediately once available from Draytek
  • Audit systems for signs of prior exploitation by reviewing access logs for path traversal patterns

Patch Information

Organizations should consult Draytek's official security advisories and update to the latest version of VigorConnect that addresses this vulnerability. Given this vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog, immediate patching is strongly recommended. Refer to the CISA KEV Catalog entry for remediation deadline guidance if applicable to your organization.

Workarounds

  • Implement network-level access controls to restrict access to the VigorConnect management interface to authorized internal networks only
  • Deploy a web application firewall (WAF) with rules to block path traversal attack patterns
  • Disable or restrict access to the DownloadFileServlet endpoint if file download functionality is not required
  • Monitor and alert on any exploitation attempts while awaiting patch deployment
bash
# Example: Restrict access to VigorConnect management interface using iptables
# Only allow access from trusted management network (e.g., 192.168.1.0/24)
iptables -A INPUT -p tcp --dport 443 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP

# Example: Nginx reverse proxy configuration to block path traversal
# Add to location block for VigorConnect proxy
location / {
    if ($request_uri ~* "\.\.") {
        return 403;
    }
    proxy_pass http://vigorconnect_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechDraytek Vigorconnect

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability93.99%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-22
  • Technical References
  • Tenable Research Report

  • CISA Known Exploited Vulnerabilities
  • Related CVEs
  • CVE-2021-20124: Draytek VigorConnect Path Traversal Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English