Juniper Junos OS SRX Series J-Web Unauthenticated Arbitrary File Upload Vulnerability (CVE-2023-36846) Technical Advisory
Executive & SecOps Summary
SECOPS ASSESSMENTJuniper Networks Junos OS SRX Series firewalls with the J-Web interface enabled
Unauthenticated remote attackers can upload arbitrary files via crafted HTTP requests to the file system, compromising integrity and potentially chaining with other flaws to achieve Remote Code Execution (RCE)
Apply the latest Junos OS security updates immediately, or disable the J-Web interface and restrict access to trusted management IP ranges
Affected Products & Version Scope
Remediation & Live Workaround Commands
PATCH & WORKAROUND1. Official Patch & Version Upgrade Commands
Upgrade Junos OS to the remediated releases (e.g., 20.4R3-S8, 21.2R3-S6, 21.3R3-S5, 21.4R3-S5, 22.1R3-S3, 22.2R3-S2, 22.3R2-S2, 22.4R2-S1 or later). Use the following CLI commands to install the update package and reboot the system.
# Enter Junos OS CLI, install the patch image, and reboot
cli
request system software add reboot https://<internal-server>/junos-srxsme-21.4R3-S5.tgz2. Temporary Workaround & Hardening Configuration
If patching cannot be performed immediately, disable the J-Web service entirely or restrict access to trusted administrative IP addresses using firewall filters.
# Disable J-Web service
configure
delete system services web-management
commit and-quit
# Restrict J-Web access to a trusted management subnet (e.g., 192.168.10.0/24)
configure
set firewall family inet filter MGMT_ACCESS term ALLOW_MGMT from source-address 192.168.10.0/24
set firewall family inet filter MGMT_ACCESS term ALLOW_MGMT from destination-port
set firewall family inet filter MGMT_ACCESS term ALLOW_MGMT then accept
set firewall family inet filter MGMT_ACCESS term DENY_OTHERS from destination-port
set firewall family inet filter MGMT_ACCESS term DENY_OTHERS then discard
commit and-quit3. Log Audit & IoC Verification Commands
Inspect the J-Web access logs for unauthorized POST requests targeting the user.php endpoint to identify potential exploitation attempts.
# Access Junos OS shell and search for user.php requests in web server logs
start shell
grep -i 'user.php' /var/log/httpd-access.log
# Verify the current running Junos OS version
cli show versionStop 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.
Technical Root Cause & Exploitation Mechanics
1. Vulnerability Overview & Root Cause
This vulnerability (CVE-2023-36846) exists in the J-Web interface of Juniper Networks Junos OS on SRX Series devices. The root cause is a Missing Authentication for Critical Function (CWE-306) within the user.php endpoint. Because the application fails to enforce proper authentication checks before processing requests to this script, an unauthenticated network-based attacker can directly interact with it to upload arbitrary files to the local file system.
2. Exploitation Mechanics & Attack Scenario
An attacker scans for SRX devices exposing J-Web ports (typically TCP 80 or 443) to the public internet. The attacker then sends a specially crafted HTTP POST request targeting the user.php endpoint without providing any valid session credentials or authentication headers. The request contains multipart/form-data payload representing the file to be uploaded. The vulnerable script processes this request and writes the file to a directory on the file system. While this vulnerability primarily impacts file system integrity, threat actors actively chain this with other vulnerabilities (such as PHP environment manipulation flaws like CVE-2023-36845) to execute arbitrary code with administrative privileges.
3. Infrastructure & Business Impact
This vulnerability is highly critical and is actively exploited in the wild, as confirmed by its inclusion in the CISA Known Exploited Vulnerabilities (KEV) catalog. A compromise of a perimeter firewall or gateway device allows attackers to establish a persistent foothold within the enterprise network, leading to lateral movement, VPN credential theft, sensitive data exfiltration, and potential ransomware deployment.
Official Vendor Advisories & References
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 user.php that doesn't require authentication an attacker is able to upload arbitrary files via J-Web, leading to a loss of integrity for a certain part of the file system, which may allow chaining to other vulnerabilities. This issue affects Juniper Networks Junos OS on SRX Series: * All versions prior to 20.4R3-S8; * 21.1 versions 21.1R1 and later; * 21.2 versions prior to 21.2R3-S6; * 21.3 versions prior to 21.3R3-S5; * 21.4 versions prior to 21.4R3-S5; * 22.1 versions prior to 22.1R3-S3; * 22.2 versions prior to 22.2R3-S2; * 22.3 versions prior to 22.3R2-S2, 22.3R3; * 22.4 versions prior to 22.4R2-S1, 22.4R3.
Frequently Asked SecOps Questions (CVE-2023-36846)
FAQQ1. How critical is CVE-2023-36846 and is it actively exploited in the wild?
CVE-2023-36846 is rated CVSS 5.3 (MEDIUM) with a 30-day EPSS exploitation probability of 93.5%. 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-36846?
Primary impacted vendors include juniper across junos os, srx series. Scope summary: Juniper Networks Junos OS SRX Series: All versions prior to 20.4R3-S8; 21.1 versions 21.1R1 and later; 21.2 versions prior to 21.2R3-S6; 21.3 versions prior to 21.3R3-S5; 21.4 versions prior to 21.4R3-S5; 22.1 versions prior to 22.1R3-S3; 22.2 versions prior to 22.2R3-S2; 22.3 versions prior to 22.3R2-S2, 22.3R3; 22.4 versions prior to 22.4R2-S1, 22.4R3
Q3. What temporary mitigations or workarounds exist for CVE-2023-36846 before patching?
[Mitigation] Apply the latest Junos OS security updates immediately, or disable the J-Web interface and restrict access to trusted management IP ranges Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.
Generate an Internal Engineering Notice or CISO Report for CVE-2023-36846
Instantly format this advisory into an executive CISO summary or engineering patch ticket.
🔗 Related Advisories in Similar Stack (juniper)
View Category →TrueConf Server Unauthenticated Remote Code Execution (RCE) Vulnerability Security Advisory (CVE-2026-72529)
[Affected Scope] TrueConf Server versions 5.3.X to 5.3.9, 5.4.X to 5.4.9, 5.5.X to 5.5.5, and earlier
MikroTik RouterOS Authentication Bypass, Kernel Panic, and Info Leak (CVE-2026-67277) Security Advisory
[Affected Scope] MikroTik RouterOS versions 6.x and 7.x prior to specific patched releases.
Arista VeloCloud Orchestrator (VCO) Remote Code Execution and Privilege Escalation (CVE-2026-93952)
[Affected Scope] Arista VeloCloud Orchestrator (VCO) On-premise deployments.
Cisco Identity Services Engine (ISE) Critical Authentication Bypass Vulnerability (CVE-2026-76460)
[Affected Scope] Cisco Identity Services Engine (ISE) web-based management interface and API endpoints.
Subscribe to Daily Vulnerability Briefings & KEV Alerts
Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.