CVE-2024-39565 in Juniper Junos and 32 more products
An Improper Neutralization of Data within XPath Expressions ('XPath Injection') vulnerability in J-Web shipped with Juniper Networks Junos OS allows an unauthenticated, network-based attacker to execute remote commands on the target device. While an administrator is logged into a J-Web session or has previously logged in and subsequently logged out of their J-Web session, the attacker can arbitrarily execute commands on the target device with the other user's credentials. In the worst case, the attacker will have full control over the device. This issue affects Junos OS: * All versions before 21.2R3-S8, * from 21.4 before 21.4R3-S7, * from 22.2 before 22.2R3-S4, * from 22.3 before 22.3R3-S3, * from 22.4 before 22.4R3-S2, * from 23.2 before 23.2R2, * from 23.4 before 23.4R1-S1, 23.4R2.
Affects 33 products from 1 vendor. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Juniper | Junos | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX1500 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX300 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX320 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX340 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX345 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX380 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX4100 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX4200 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX4600 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX5400 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX2300 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX2300-C | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX3400 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX4300 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX4400 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX4600 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX4650 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX9204 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX9208 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX9214 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX1600 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX2300 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX4300 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX4700 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX4100 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX4100-F | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | EX4100-H | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | SRX4120 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
| Juniper | J-Web | No version listed by the source |
| Juniper | EX4000 | 21.2 21.4 22.2 22.3 22.4 23.2+2 more23.4 < 21.2 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Juniper SRX5600, Juniper SRX5800
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2024-39565 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-199635-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2024-07-10 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.