Security Resilience

CVE-2024-39565

Juniper J-Web

Published
10 July 2024
Modified
22 January 2026
Patch / advisory
CVSS Score v4 7.7
Click a component to see what it means
Raw vectorCVSS: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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:C/RE:M/U:Amber
EPSS Score 0.0052 45th percentile
Risk Priority 55 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-39565 is a high-severity XPath Injection (CWE-643) vulnerability in Juniper J-Web. Its CVSS base score is 7.7 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 45th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-60007Same vendor: Juniper
CVE-2026-21920Same vendor: Juniper
CVE-2025-30659Same vendor: Juniper
CVE-2025-30645Same vendor: Juniper
CVE-2026-21917Same vendor: Juniper
CVE-2026-57021Same vendor: Juniper
CVE-2024-47497Same vendor: Juniper
CVE-2026-33779Same vendor: Juniper
CVE-2026-33790Same vendor: Juniper
CVE-2024-39527Same vendor: Juniper

Affected Assets

juniper
j-web
all versions
juniper
junos
21.2, 21.4, 22.2, 22.3, 22.4 · ≤ 21.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.2.4
  • V1.2.7
  • V2.2.1
  • V4.3.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Input validation directly requires neutralizing untrusted data before it is used to build XPath queries.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input neutralization and query parameterization that prevent XPath injection.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches XPath injection vulnerabilities before release.

prevents

Training technical teams on secure coding practices (the education and training component of A.6.3) helps developers avoid XPath injection by teaching input neutralization and parameterized query use, but the effect is a minority one because training is fallible and the strongest control for this implementation defect is secure coding standards and security testing, not awareness.

prevents

Secure coding standards require proper neutralization of untrusted input in XPath expressions.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) it contracts from the supplier, and XPath injection is an ordinary implementation-level injection flaw those practices address; the owner graded the analogous format-string pair at `partial` and declared `partial` as the clause's ceiling on this verb.

finds

Vulnerability management processes identify and remediate XPath injection flaws discovered post-deployment.

References