CVE-2024-39565: Junos OS: J-Web: An unauthenticated, network-based attacker can perform XPATH injection attack against a device.
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Junos OS: J-Webto a version that resolves this vulnerability.Fixed in 21.2R3-S8 - Upgrade
Upgrade
Junos OS: J-Webto a version that resolves this vulnerability.Fixed in 21.4R3-S7 - Upgrade
Upgrade
Junos OS: J-Webto a version that resolves this vulnerability.Fixed in 22.2R3-S4 - Upgrade
Upgrade
Junos OS: J-Webto a version that resolves this vulnerability.Fixed in 22.3R3-S3 - Upgrade
Upgrade
Junos OS: J-Webto a version that resolves this vulnerability.Fixed in 22.4R3-S2 - Upgrade
Upgrade
Junos OS: J-Webto a version that resolves this vulnerability.Fixed in 23.2R2 - Upgrade
Upgrade
Junos OS: J-Webto a version that resolves this vulnerability.Fixed in 23.4R1-S1 - Upgrade
Upgrade
Junos OS: J-Webto a version that resolves this vulnerability.Fixed in 23.4R2 - Upgrade
Upgrade
Junos OS: J-Webto a version that resolves this vulnerability.Fixed in 24.2R1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-39565?
CVE-2024-39565 has been categorized as a high severity vulnerability, allowing unauthenticated attackers to execute remote commands.
How do I fix CVE-2024-39565?
To mitigate CVE-2024-39565, update your Junos OS to a patched version that addresses this XPath Injection vulnerability.
Which versions of Junos OS are affected by CVE-2024-39565?
CVE-2024-39565 affects multiple versions of Junos OS, including versions before 21.2R3-S8, 21.4R3-S7, and several others up to 23.4R1-S1.
Can CVE-2024-39565 be exploited remotely?
Yes, CVE-2024-39565 can be exploited remotely by an unauthenticated attacker over the network.
Is authentication required to exploit CVE-2024-39565?
No, CVE-2024-39565 does not require authentication for exploitation, making it particularly dangerous.