← back
CVE-2024-39565

Junos OS: J-Web: An unauthenticated, network-based attacker can perform XPATH injection attack against a device.

CVSS 7.7 HIGHEPSS 0.5%CWE-643
In short

A flaw in Juniper's J-Web interface allows attackers without login credentials to inject malicious commands into search queries, potentially taking full control of network devices when an administrator is logged in or has recently used the system.

Technical detail

An XPath injection vulnerability (CWE-643) in J-Web permits unauthenticated, network-based attackers to execute arbitrary commands with administrator credentials when an active or recently-closed admin session exists. The vulnerability requires no authentication and can grant complete device control; affected versions span Junos OS releases from 21.2 through 23.4.

Summary generated and translated by AI from the official description.
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.
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:Y/V:C/RE:M/U:Amber

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →