5.3Medium KEV

CVE-2023-36844Junos OS: EX Series: A PHP vulnerability in J-Web allows an unauthenticated attacker to control important environment variables

Juniper Networks Junos OS Published: (3 years ago)

Known exploited — Juniper Junos OS EX Series PHP External Variable Modification Vulnerability

CISA confirmed this vulnerability is used in real attacks on 13.11.2023. Remediation deadline for US federal agencies: 17.11.2023.

Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. https://supportportal.juniper.net/s/article/2023-08-Out-of-Cycle-Security-Bulletin-Junos-OS-SRX-Series-and-EX-Series-Multiple-vulnerabilities-in-J-Web-can-be-combined-to-allow-a-preAuth-Remote-Code-Execution?language=en_US ; https://nvd.nist.gov/vuln/detail/CVE-2023-36844

Description

A PHP External Variable Modification vulnerability in J-Web of Juniper Networks Junos OS on EX Series allows an unauthenticated, network-based attacker to control certain, important environment variables. Using a crafted request an attacker is able to modify certain PHP environment variables leading to partial loss of integrity, which may allow chaining to other vulnerabilities. This issue affects Juniper Networks Junos OS on EX Series: * All versions prior to 20.4R3-S9; * 21.1 versions 21.1R1 and later; * 21.2 versions prior to 21.2R3-S7; * 21.3 versions prior to 21.3R3-S5; * 21.4 versions prior to 21.4R3-S5; * 22.1 versions prior to 22.1R3-S4; * 22.2 versions prior to 22.2R3-S2; * 22.3 versions prior to 22.3R3-S1; * 22.4 versions prior to 22.4R2-S2, 22.4R3; * 23.2 versions prior to 23.2R1-S1, 23.2R2.

Weakness (CWE): CWE-473

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
juniper junos < 20.4
Juniper Networks Junos OS < 20.4R3-S9, 21.1 – < 21.1*, 21.2 – < 21.2R3-S6, 21.3 – < 21.3R3-S5, 21.4 – < 21.4R3-S5, 22.1 – < 22.1R3-S4, 22.2 – < 22.2R3-S2, 22.3 – < 22.3R3-S1, 22.4 – < 22.4R2-S2, 22.4R3, 23.2 – < 23.2R1-S1, 23.2R2

References and patches

CPE matches (NVD) (60)

  • cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:* < 20.4
  • cpe:2.3:o:juniper:junos:20.4:-:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r1-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r2-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r2-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r3:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r3-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r3-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r3-s3:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r3-s4:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r3-s5:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r3-s6:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r3-s7:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:20.4:r3-s8:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r1-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r2-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r2-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r3:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r3-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r3-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r3-s3:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r3-s4:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.1:r3-s5:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r1-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r1-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r2-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r2-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r3:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r3-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r3-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r3-s3:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r3-s4:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r3-s5:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.2:r3-s6:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:-:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r1-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r1-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r2-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r2-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r3:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r3-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r3-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r3-s3:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.3:r3-s4:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.4:-:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.4:r1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.4:r1-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.4:r1-s2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.4:r2:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.4:r2-s1:*:*:*:*:*:*
  • cpe:2.3:o:juniper:junos:21.4:r2-s2:*:*:*:*:*:*