CVE DatabaseCVE-2023-36851
한국어 권고문 →
CVE-2023-368515.3/MEDIUMCISA KEVCWE-306CWE-306

Juniper Networks Junos OS (SRX Series) J-Web Unauthenticated Arbitrary File Upload and Download Vulnerability (CVE-2023-36851) Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
juniper
Affected Components
junos_os
Published Date
2023-09-27
CVSS v3.1
5.3
MEDIUM
EPSS (30d)
1.1%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Juniper Networks Junos OS on SRX Series devices with the J-Web interface enabled in specific vulnerable versions

Impact

Unauthenticated network-based attackers can send crafted requests to webauth_operation.php to upload or download arbitrary files, compromising file system integrity and potentially chaining to remote code execution (RCE)

Mitigation

Immediately upgrade Junos OS to the recommended patched release, or disable the J-Web interface / restrict access to trusted IP addresses

Affected Products & Version Scope

Juniper Networks Junos OS on SRX Series: - 21.2 versions prior to 21.2R3-S8 - 21.4 versions prior to 21.4R3-S6 - 22.1 versions prior to 22.1R3-S5 - 22.2 versions prior to 22.2R3-S3 - 22.3 versions prior to 22.3R3-S2 - 22.4 versions prior to 22.4R2-S2, 22.4R3 - 23.2 versions prior to 23.2R1-S2, 23.2R2

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

The primary remediation is to upgrade Junos OS to a patched release via the Juniper Support Portal (JSA72300). Use the following CLI commands to apply the update:

bash
# Enter CLI and install the patched Junos OS image
cli
request system software add reboot /var/tmp/junos-srxsme-22.4R3.tgz

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, disable the J-Web service entirely or restrict access to trusted management IP addresses using firewall filters.

bash
# Disable J-Web service
configure
delete system services web-management
commit

# Alternatively, restrict J-Web access to a trusted subnet (e.g., 192.168.10.0/24)
set firewall filter LIMIT-JWEB term ALLOW-ADMIN from source-address 192.168.10.0/24
set firewall filter LIMIT-JWEB term ALLOW-ADMIN from destination-port
set firewall filter LIMIT-JWEB term ALLOW-ADMIN then accept
set firewall filter LIMIT-JWEB term DENY-OTHERS from destination-port
set firewall filter LIMIT-JWEB term DENY-OTHERS then discard
set interfaces fxp0 unit 0 family inet filter input LIMIT-JWEB
commit

3. Log Audit & IoC Verification Commands

Inspect the web server access logs for unauthorized requests targeting webauth_operation.php and verify the current running version.

bash
# Check J-Web access logs for suspicious webauth_operation.php requests
show log httpd-access | match webauth_operation.php

# Verify the current Junos OS version
show version
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
As this vulnerability is actively exploited in the wild (CISA KEV), immediately disable J-Web or restrict access to trusted IPs, and upgrade to a patched Junos OS version.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2023-36851) is a Missing Authentication for Critical Function (CWE-306) vulnerability in the J-Web interface of Juniper Networks Junos OS on SRX Series devices. The root cause lies in the lack of proper authentication checks within the webauth_operation.php component, allowing unauthenticated remote attackers to directly access and interact with this endpoint.

2. Exploitation Mechanics & Attack Scenario

An attacker can exploit this vulnerability by sending a specially crafted HTTP request directly to webauth_operation.php without providing any valid credentials. By manipulating the request parameters, the attacker can upload arbitrary files to the device's file system or download sensitive files from it. This capability can be chained with other vulnerabilities or system behaviors to achieve arbitrary code execution (RCE), such as uploading a malicious web shell to gain persistent administrative access.

3. Infrastructure & Business Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Since SRX Series devices serve as critical perimeter firewalls and gateways, a successful compromise allows attackers to bypass security boundaries, perform lateral movement within the internal network, exfiltrate sensitive data, or deploy ransomware, leading to severe business disruption.

Official Vendor Advisories & References

NVD Original English Description

A Missing Authentication for Critical Function vulnerability in Juniper Networks Junos OS on SRX Series allows an unauthenticated, network-based attacker to cause limited impact to the file system integrity. With a specific request to webauth_operation.php that doesn't require authentication, an attacker is able to upload and download arbitrary files via J-Web, leading to a loss of integrity or confidentiality, which may allow chaining to other vulnerabilities. This issue affects Juniper Networks Junos OS on SRX Series: * 21.2 versions prior to 21.2R3-S8; * 21.4 versions prior to 21.4R3-S6; * 22.1 versions prior to 22.1R3-S5; * 22.2 versions prior to 22.2R3-S3; * 22.3 versions prior to 22.3R3-S2; * 22.4 versions prior to 22,4R2-S2, 22.4R3; * 23.2 versions prior to 23.2R1-S2, 23.2R2.

Frequently Asked SecOps Questions (CVE-2023-36851)

FAQ

Q1. How critical is CVE-2023-36851 and is it actively exploited in the wild?

CVE-2023-36851 is rated CVSS 5.3 (MEDIUM) with a 30-day EPSS exploitation probability of 1.1%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2023-36851?

Primary impacted vendors include juniper across junos_os. Scope summary: Juniper Networks Junos OS on SRX Series: - 21.2 versions prior to 21.2R3-S8 - 21.4 versions prior to 21.4R3-S6 - 22.1 versions prior to 22.1R3-S5 - 22.2 versions prior to 22.2R3-S3 - 22.3 versions prior to 22.3R3-S2 - 22.4 versions prior to 22.4R2-S2, 22.4R3 - 23.2 versions prior to 23.2R1-S2, 23.2R2

Q3. What temporary mitigations or workarounds exist for CVE-2023-36851 before patching?

[Mitigation] Immediately upgrade Junos OS to the recommended patched release, or disable the J-Web interface / restrict access to trusted IP addresses Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2023-36851

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (juniper)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2023-36851 Juniper Networks Junos OS (SRX Series) J-Web Unauthenticated Arbitrary File Upload and Download Vulnerability (CVE-2023-36851) Analysis and Mitigation Guide (CVSS 5.3) - Patch & Workaround | CVE Pulse