Skip to main content
Network Thinking Solutions Logo

CVE-2024-39565

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. 

All CVEs
CVE-2024-39565Published 7/10/2024

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. 

Vendor advisory
CVSS7.7High

Overview

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.

Published
7/10/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
j-web
juniper
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
< 21.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
21.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
21.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
22.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
22.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
22.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
23.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
junos
juniper
23.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Junos OS
Juniper Networks, Inc.
< 21.2R3-S8

Verify advisory

Source
Junos OS
Juniper Networks, Inc.
≥ 21.4, < 21.4R3-S7

Verify advisory

Source
Junos OS
Juniper Networks, Inc.
≥ 22.2, < 22.2R3-S4

Verify advisory

Source
Junos OS
Juniper Networks, Inc.
≥ 22.3, < 22.3R3-S3

Verify advisory

Source
Junos OS
Juniper Networks, Inc.
≥ 22.4, < 22.4R3-S2

Verify advisory

Source
Junos OS
Juniper Networks, Inc.
≥ 23.2, < 23.2R2

Verify advisory

Source
Junos OS
Juniper Networks, Inc.
≥ 23.4, < 23.4R1-S1, 23.4R2

Verify advisory

Source
junos_os
juniper
< 21.2r3-s8

Verify advisory

Source
junos_os
juniper
≥ 23.4, < 23.4r1-s1

Verify advisory

Source
junos_os
juniper
≥ 23.4, < 23.4r2

Verify advisory

Source
junos_os
juniper
≥ 21.4, < 21.4r3-s7

Verify advisory

Source
junos_os
juniper
≥ 22.2, < 22.2r3-s4

Verify advisory

Source
junos_os
juniper
≥ 22.3, < 22.3r3-s3

Verify advisory

Source
junos_os
juniper
≥ 22.4, < 22.4r3-s2

Verify advisory

Source
junos_os
juniper
≥ 23.2, < 23.2r2

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.