The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2020-1631

CVE-2020-1631: Juniper Junos Path Traversal Vulnerability

CVE-2020-1631 is a path traversal vulnerability in Juniper Junos OS affecting HTTP/HTTPS services, enabling attackers to perform local file inclusion and steal J-Web session tokens. This article covers technical details.

Published: March 11, 2026

CVE-2020-1631 Overview

A critical vulnerability exists in the HTTP/HTTPS service used by multiple Juniper Junos OS components including J-Web, Web Authentication, Dynamic-VPN (DVPN), Firewall Authentication Pass-Through with Web-Redirect, and Zero Touch Provisioning (ZTP). This vulnerability allows an unauthenticated attacker to perform local file inclusion (LFI) or path traversal attacks against affected devices.

The vulnerability enables attackers to inject commands into the httpd.log file, read files with world-readable permissions, and potentially obtain J-Web session tokens. In environments where J-Web is enabled and administrators are actively logged in, an attacker could gain administrator-level access to the J-Web management interface. Juniper SIRT has confirmed at least one report of this vulnerability being exploited in the wild.

Critical Impact

This vulnerability is actively exploited and listed in CISA's Known Exploited Vulnerabilities catalog. Attackers can read configuration files, steal session tokens, and potentially gain full administrative access to Juniper devices.

Affected Products

  • Juniper Junos OS 12.3 versions prior to 12.3R12-S16
  • Juniper Junos OS 12.3X48 versions prior to 12.3X48-D101, 12.3X48-D105
  • Juniper Junos OS 14.1X53 versions prior to 14.1X53-D54
  • Juniper Junos OS 15.1 versions prior to 15.1R7-S7
  • Juniper Junos OS 15.1X49 versions prior to 15.1X49-D211, 15.1X49-D220
  • Juniper Junos OS 16.1 versions prior to 16.1R7-S8
  • Juniper Junos OS 17.2 versions prior to 17.2R3-S4
  • Juniper Junos OS 17.3 versions prior to 17.3R3-S8
  • Juniper Junos OS 17.4 versions prior to 17.4R2-S11, 17.4R3-S2
  • Juniper Junos OS 18.1 versions prior to 18.1R3-S10
  • Juniper Junos OS 18.2 versions prior to 18.2R2-S7, 18.2R3-S4
  • Juniper Junos OS 18.3 versions prior to 18.3R2-S4, 18.3R3-S2
  • Juniper Junos OS 18.4 versions prior to 18.4R1-S7, 18.4R3-S2
  • Juniper Junos OS 19.1 versions prior to 19.1R1-S5, 19.1R3-S1
  • Juniper Junos OS 19.2 versions prior to 19.2R2
  • Juniper Junos OS 19.3 versions prior to 19.3R2-S3, 19.3R3
  • Juniper Junos OS 19.4 versions prior to 19.4R1-S2, 19.4R2
  • Juniper Junos OS 20.1 versions prior to 20.1R1-S1, 20.1R2

Discovery Timeline

  • May 4, 2020 - CVE-2020-1631 published to NVD
  • October 24, 2025 - Last updated in NVD database

Technical Details for CVE-2020-1631

Vulnerability Analysis

This vulnerability resides in the HTTP/HTTPS service component of Juniper Junos OS that powers multiple web-facing services. The flaw is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as path traversal.

The impact varies depending on the deployment configuration:

When J-Web is disabled but HTTP/HTTPS services are enabled: Attackers can read world-readable files on the system. On Junos OS 19.3R1 and above, this includes the device configuration file, exposing sensitive network infrastructure details.

When J-Web is enabled: The most severe impact occurs when an administrator is actively logged into J-Web. Attackers can steal J-Web session tokens and hijack authenticated sessions, gaining full administrative access to the device.

Command Injection: Attackers can inject commands into the httpd.log file. However, since the HTTP service runs as the unprivileged nobody user, the immediate impact of command injection is limited, though it may serve as a stepping stone for further attacks.

Root Cause

The vulnerability stems from insufficient input validation in the HTTP/HTTPS service request handling. The affected services fail to properly sanitize user-supplied input, allowing path traversal sequences (such as ../) to escape the intended directory and access arbitrary files on the filesystem. This improper validation enables both local file inclusion and command injection through log file manipulation.

Attack Vector

This vulnerability is exploitable remotely over the network without authentication. An attacker can craft malicious HTTP/HTTPS requests containing path traversal sequences to access files outside the web root directory. The attack can be executed against any Juniper device with HTTP/HTTPS services exposed, making internet-facing devices particularly at risk.

The attack methodology involves sending specially crafted requests that include path traversal characters to read sensitive files or inject malicious content into log files. Successful exploitation can lead to configuration disclosure, session hijacking, and potentially full device compromise when administrator sessions are active.

Detection Methods for CVE-2020-1631

Indicators of Compromise

  • Suspicious entries in /var/log/httpd.log containing the string patterns =*;*& or *%3b*& indicating command injection attempts
  • Unexpected access to configuration files or world-readable system files through HTTP/HTTPS requests
  • Anomalous J-Web session activity, particularly sessions originating from unexpected IP addresses
  • Evidence of log tampering or truncation in httpd.log and rotated logs (httpd.log.0.gz, httpd.log.1.gz)

Detection Strategies

  • Monitor HTTP/HTTPS request logs for path traversal sequences such as ../, ..%2f, or URL-encoded variants
  • Implement network intrusion detection rules to identify malicious requests targeting J-Web and related services
  • Enable enhanced logging on Juniper devices and forward logs to a centralized SIEM for analysis
  • Deploy web application firewall (WAF) rules to block path traversal patterns in requests to Juniper management interfaces

Monitoring Recommendations

  • Regularly review httpd.log using the Juniper command: show log httpd.log | match "=*;*&|=*%3b*&"
  • Also examine rotated logs: show log httpd.log.0.gz | match "=*;*&|=*%3b*&" and show log httpd.log.1.gz | match "=*;*&|=*%3b*&"
  • Monitor for unauthorized configuration changes or unexpected administrative access
  • Track session token usage and correlate with expected administrator login activity

How to Mitigate CVE-2020-1631

Immediate Actions Required

  • Disable HTTP/HTTPS services on all Juniper devices where they are not required for operational purposes
  • If J-Web is not in use, disable it immediately to reduce the attack surface
  • Restrict access to J-Web and HTTP/HTTPS services to trusted management networks only using firewall rules or access control lists
  • Review active J-Web sessions and invalidate any suspicious or unauthorized sessions
  • Audit httpd.log files for indicators of compromise and investigate any suspicious entries

Patch Information

Juniper Networks has released security patches to address this vulnerability. Administrators should upgrade to the following fixed versions as appropriate for their deployment:

  • Junos OS 12.3R12-S16 or later
  • Junos OS 12.3X48-D101, 12.3X48-D105 or later
  • Junos OS 14.1X53-D54 or later
  • Junos OS 15.1R7-S7 or later
  • Junos OS 15.1X49-D211, 15.1X49-D220 or later
  • Junos OS 16.1R7-S8 or later
  • Junos OS 17.2R3-S4 or later
  • Junos OS 17.3R3-S8 or later
  • Junos OS 17.4R2-S11, 17.4R3-S2 or later
  • Junos OS 18.1R3-S10 or later
  • Junos OS 18.2R2-S7, 18.2R3-S4 or later
  • Junos OS 18.3R2-S4, 18.3R3-S2 or later
  • Junos OS 18.4R1-S7, 18.4R3-S2 or later
  • Junos OS 19.1R1-S5, 19.1R3-S1 or later
  • Junos OS 19.2R2 or later
  • Junos OS 19.3R2-S3, 19.3R3 or later
  • Junos OS 19.4R1-S2, 19.4R2 or later
  • Junos OS 20.1R1-S1, 20.1R2 or later

For complete patch details, refer to the Juniper Security Advisory JSA11021.

Workarounds

  • Completely disable HTTP/HTTPS services if not required by running: delete system services web-management
  • If HTTP/HTTPS services must remain enabled, use firewall filters to restrict access to trusted source IP addresses only
  • Implement network segmentation to isolate Juniper management interfaces from untrusted networks
  • Consider using alternative management methods such as SSH/CLI access instead of J-Web until patching is complete
bash
# Check if HTTP/HTTPS services are running on your device
show system processes | match http

# If output shows httpd processes, consider disabling web management
# Configuration to disable web management services
delete system services web-management

# Apply firewall filter to restrict J-Web access to trusted networks only
set firewall filter PROTECT-JWEB term ALLOW-MGMT from source-prefix-list TRUSTED-MGMT-NETS
set firewall filter PROTECT-JWEB term ALLOW-MGMT then accept
set firewall filter PROTECT-JWEB term DENY-ALL then discard

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechJunos

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability5.40%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-22
  • Technical References
  • CISA Known Exploited Vulnerabilities
  • Vendor Resources
  • Juniper Security Advisory JSA11021
  • Related CVEs
  • CVE-2026-21902: Junos OS Evolved Privilege Escalation Flaw

  • CVE-2025-59961: Junos OS jdhcpd Privilege Escalation Flaw

  • CVE-2026-21921: Juniper Networks Junos OS DoS Vulnerability

  • CVE-2025-59960: Junos OS DHCP Service DoS Vulnerability
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