Juniper Networks Junos OS
Junos OS: SRX Series: In an ADVPN scenario a malformed message from a peer causes Remote Code Execution
Edge device · Router / network deviceknown edge product: Juniper Networks Junos OS Junos OS: SRX Series: (high confidence)
An Improper Validation of Syntactic Correctness of Input vulnerability in the VPN daemon of Juniper Networks Junos OS on SRX Series allows an authenticated, network-based attacker to take complete control of the device. If an SRX device configured for AutoDiscovery VPN (ADVPN) receives a message from a peer that contains one or more specifically malformed attributes, this will cause a buffer overflow, which can allow remote code execution and therefore allow an attacker to take complete control of the device. To be able to carry out this attack an attacker must either have acquired the shared secret to impersonate a peer or have compromised an existing one, so this attack is considerably difficult. This issue affects Junos OS on SRX Series: * All versions before 23.2R2-S7.7; * from 23.4 before 23.4R2-S7; * from 24.2 before 24.2R2-S4; * from 24.4 before 24.4R2-S3; * from 25.2 before 25.2R2; * from 25.4 before 25.4R1-S3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 23.2R2-S7.7
- >= 23.4, < 23.4R2-S7
- >= 24.2, < 24.2R2-S4
- >= 24.4, < 24.4R2-S3
- >= 25.2, < 25.2R2
- >= 25.4, < 25.4R1-S3
Fixed in 23.2R2-S7.7, 23.4R2-S7, 24.2R2-S4, 24.4R2-S3, 25.2R2, 25.4R1-S3
Mitigation
The following software releases have been updated to resolve this specific issue: Junos OS: 23.2R2-S7.7, 23.4R2-S7, 24.2R2-S4, 24.4R2-S3, 25.2R2, 25.4R1-S3, 26.2R1, and all subsequent releases. Note: For Junos OS release 23.2, a specific respin has been referenced. Previously published versions of this release have been rebuilt to resolve the security vulnerabilities identified in this advisory.
Workaround
There are no known workarounds for this issue.
References
- Vendor advisory supportportal.juniper.net/JSA112173
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.