Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-39565

HIGH 7.7EPSS 69%

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

Mitigation

  • Vendor workaround: There are no known workarounds for this issue other than disabling J-Web when not in use.
  • Juniper Networks has written an effective countermeasure for this attack at IDP Signature SigPack #3675 onward, released on 07 February 2024. The signature “HTTP:PHP:LAUNCHPAD-CMD-INJ” will identify and block the attack. For best effect, customers may deploy this signature on devices where J-Web is not used.

Who should check

  • Anyone running Juniper Networks, Inc. Junos OS < 21.2R3-S8; >= 21.4, < 21.4R3-S7; >= 22.2, < 22.2R3-S4; >= 22.3, < 22.3R3-S3; >= 22.4, < 22.4R3-S2; >= 23.2, < 23.2R2; >= 23.4, < 23.4R1-S1, 23.4R2

Vulnerability facts

Affected
Juniper Networks, Inc. Junos OS < 21.2R3-S8; >= 21.4, < 21.4R3-S7; >= 22.2, < 22.2R3-S4; >= 22.3, < 22.3R3-S3; >= 22.4, < 22.4R3-S2; >= 23.2, < 23.2R2; >= 23.4, < 23.4R1-S1, 23.4R2
Fixed in
Juniper Networks, Inc. Junos OS 21.2R3-S8, Juniper Networks, Inc. Junos OS 21.4R3-S7, Juniper Networks, Inc. Junos OS 22.2R3-S4, Juniper Networks, Inc. Junos OS 22.3R3-S3, Juniper Networks, Inc. Junos OS 22.4R3-S2, Juniper Networks, Inc. Junos OS 23.2R2, Juniper Networks, Inc. Junos OS 23.4R1-S1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.7 (v4.0, CNA)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:AmberOpen in CVSS calculator
Show all 15 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Passive
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • AU: Y
  • V: C
  • RE: M
  • U: Amber
EPSS
1.23% chance of exploitation in 30 days (percentile 69, 2026-11-26)
CWE
CWE-643
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Juniper Networks, Inc. Junos OS< 21.2R3-S8; >= 21.4, < 21.4R3-S7; >= 22.2, < 22.2R3-S4; >= 22.3, < 22.3R3-S3; >= 22.4, < 22.4R3-S2; >= 23.2, < 23.2R2; >= 23.4, < 23.4R1-S1, 23.4R2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-39565. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-39565.md
Affected: Juniper Networks, Inc. Junos OS < 21.2R3-S8; >= 21.4, < 21.4R3-S7; >= 22.2, < 22.2R3-S4; >= 22.3, < 22.3R3-S3; >= 22.4, < 22.4R3-S2; >= 23.2, < 23.2R2; >= 23.4, < 23.4R1-S1, 23.4R2
Fixed in: Juniper Networks, Inc. Junos OS 21.2R3-S8, Juniper Networks, Inc. Junos OS 21.4R3-S7, Juniper Networks, Inc. Junos OS 22.2R3-S4, Juniper Networks, Inc. Junos OS 22.3R3-S3, Juniper Networks, Inc. Junos OS 22.4R3-S2, Juniper Networks, Inc. Junos OS 23.2R2, Juniper Networks, Inc. Junos OS 23.4R1-S1

Steps:
1. Search this machine and project for Juniper Networks, Inc. Junos OS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-39565 being exploited?

There is no confirmed exploitation: CVE-2024-39565 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-39565?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-39565?

Juniper Networks, Inc. Junos OS < 21.2R3-S8; >= 21.4, < 21.4R3-S7; >= 22.2, < 22.2R3-S4; >= 22.3, < 22.3R3-S3; >= 22.4, < 22.4R3-S2; >= 23.2, < 23.2R2; >= 23.4, < 23.4R1-S1, 23.4R2.

Is there a fix for CVE-2024-39565?

Yes. Fixed in Juniper Networks, Inc. Junos OS 21.2R3-S8, Juniper Networks, Inc. Junos OS 21.4R3-S7, Juniper Networks, Inc. Junos OS 22.2R3-S4, Juniper Networks, Inc. Junos OS 22.3R3-S3, Juniper Networks, Inc. Junos OS 22.4R3-S2, Juniper Networks, Inc. Junos OS 23.2R2, Juniper Networks, Inc. Junos OS 23.4R1-S1. Vendor workaround: There are no known workarounds for this issue other than disabling J-Web when not in use. Juniper Networks has written an effective countermeasure for this attack at IDP Signature SigPack #3675 onward, released on 07 February 2024. The signature “HTTP:PHP:LAUNCHPAD-CMD-INJ” will identify and block the attack. For best effect, customers may deploy this signature on devices where J-Web is not used.

How do I check if I'm affected by CVE-2024-39565?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors