{"id":"CVE-2024-39565","aliases":["CVE-2024-39565"],"related":[],"kind":"vulnerability","state":"published","title":"Junos OS: J-Web: An unauthenticated, network-based attacker can perform XPATH injection attack against a device.","summary":"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. \n\nWhile 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.\nThis issue affects Junos OS: \n\n\n\n  *  All versions before 21.2R3-S8, \n  *  from 21.4 before 21.4R3-S7,\n  *  from 22.2 before 22.2R3-S4,\n  *  from 22.3 before 22.3R3-S3,\n  *  from 22.4 before 22.4R3-S2,\n  *  from 23.2 before 23.2R2,\n  *  from 23.4 before 23.4R1-S1, 23.4R2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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. \n\nWhile 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.\nThis issue affects Junos OS: \n\n\n\n  *  All versions before 21.2R3-S8, \n  *  from 21.4 before 21.4R3-S7,\n  *  from 22.2 before 22.2R3-S4,\n  *  from 22.3 before 22.3R3-S3,\n  *  from 22.4 before 22.4R3-S2,\n  *  from 23.2 before 23.2R2,\n  *  from 23.4 before 23.4R1-S1, 23.4R2.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de neutralización inadecuada de datos dentro de expresiones XPath ('inyección XPath') en J-Web incluido con Juniper Networks Junos OS permite que un atacante basado en red no autenticado ejecute comandos remotos en el dispositivo objetivo. Mientras un administrador inicia sesión en una sesión de J-Web o ha iniciado sesión previamente y posteriormente ha cerrado sesión en su sesión de J-Web, el atacante puede ejecutar comandos arbitrariamente en el dispositivo de destino con las credenciales del otro usuario. En el peor de los casos, el atacante tendrá control total sobre el dispositivo. Este problema afecta a Junos OS: * Todas las versiones anteriores a 21.2R3-S8, * desde 21.4 anterior a 21.4R3-S7, * desde 22.2 anterior a 22.2R3-S4, * desde 22.3 anterior a 22.3R3-S3, * desde 22.4 anterior a 22.4R3-S2 , * de 23.2 antes de 23.2R2, * de 23.4 antes de 23.4R1-S1, 23.4R2.","source":"nvd"}],"published":"2024-07-10T22:55:27.516Z","modified":"2026-06-17T07:42:14.743Z","severity":{"scorer":"juniper","scheme":"CVSS:4.0","vector":"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","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"juniper","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"juniper","scheme":"CVSS:4.0","vector":"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","score":7.7,"rating":"HIGH"}],"cwes":["CWE-643"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"21.2R3-S8","status":"affected"},{"type":"semver","introduced":"21.4","fixed":"21.4R3-S7","status":"affected"},{"type":"semver","introduced":"22.2","fixed":"22.2R3-S4","status":"affected"},{"type":"semver","introduced":"22.3","fixed":"22.3R3-S3","status":"affected"},{"type":"semver","introduced":"22.4","fixed":"22.4R3-S2","status":"affected"},{"type":"semver","introduced":"23.2","fixed":"23.2R2","status":"affected"},{"type":"semver","introduced":"23.4","fixed":"23.4R1-S1, 23.4R2","status":"affected"}],"vendor":"Juniper Networks, Inc.","product":"Junos OS","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"21.2r3-s8","status":"affected"}],"vendor":"juniper","product":"junos_os","cpe":"cpe:2.3:a:juniper:junos_os:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"23.4","fixed":"23.4r1-s1","status":"affected"},{"type":"custom","introduced":"23.4","fixed":"23.4r2","status":"affected"}],"vendor":"juniper","product":"junos_os","cpe":"cpe:2.3:a:juniper:junos_os:23.4:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"21.4","fixed":"21.4r3-s7","status":"affected"}],"vendor":"juniper","product":"junos_os","cpe":"cpe:2.3:a:juniper:junos_os:21.4:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"22.2","fixed":"22.2r3-s4","status":"affected"}],"vendor":"juniper","product":"junos_os","cpe":"cpe:2.3:a:juniper:junos_os:22.2:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"22.3","fixed":"22.3r3-s3","status":"affected"}],"vendor":"juniper","product":"junos_os","cpe":"cpe:2.3:a:juniper:junos_os:22.3:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"22.4","fixed":"22.4r3-s2","status":"affected"}],"vendor":"juniper","product":"junos_os","cpe":"cpe:2.3:a:juniper:junos_os:22.4:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"23.2","fixed":"23.2r2","status":"affected"}],"vendor":"juniper","product":"junos_os","cpe":"cpe:2.3:a:juniper:junos_os:23.2:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[],"vendor":"juniper","product":"j-web","cpe":"cpe:2.3:a:juniper:j-web:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.2"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"21.4"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.2"},{"status":"affected","version":"22.3"},{"status":"affected","version":"22.3"},{"status":"affected","version":"22.3"},{"status":"affected","version":"22.3"},{"status":"affected","version":"22.3"},{"status":"affected","version":"22.3"},{"status":"affected","version":"22.3"},{"status":"affected","version":"22.3"},{"status":"affected","version":"22.3"}],"vendor":"juniper","product":"junos","cpe":"cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://supportportal.juniper.net/JSA83023","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.first.org/cvss/calculator/v4-0#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/E:P/AU:Y/R:I/V:C/RE:L/U:Amber","tags":["related","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://support.juniper.net/support/downloads/?p=283","tags":["patch","product","signature","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Juniper SIRT would like to acknowledge and thank CataLpa of Hatlab, DbappSecurity Co. Ltd. for responsibly reporting this vulnerability."],"assigner":"juniper","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-07-12T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-39565","url":"https://www.cve.org/CVERecord?id=CVE-2024-39565","licence":"CVE Terms of Use","modified":"2024-08-02T04:26:15.990Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-39565","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39565","licence":"Public domain","modified":"2026-06-17T07:42:14.743Z"}],"updatedAt":"2026-11-25T22:58:42.770Z","epss":{"score":0.00517,"percentile":0.4544,"date":"2026-12-01T12:00:22.000Z"}}