Very Severe Flaws in the Juniper Junos Operating System Affect Enterprise Network Devices

Several high-severity security vulnerabilities have been disclosed to affect Juniper Networks devices, some of which could be exploited to achieve code execution.

Chief among them is a remote pre-authenticated PHP archive file deserialization vulnerability (CVE-2022-22241, CVSS score: 8.1) in the J-Web component of Junos OS, according to Paulos Yibelo, researcher at Octagon Networks.

“This vulnerability can be exploited by an unauthenticated remote attacker to deserialize remote phar files, leading to arbitrary file writing, which leads to remote code execution (RCE),” Yibelo said in a report shared with The HackerNews.

Five other issues are also identified which are listed as follows –

  • CVE-2022-22242 (CVSS score: 6.1) – A pre-authenticated XSS reflected on the error page (“error.php”), allowing a remote adversary to siphon Junos OS admin session and chained with others flaws requiring authentication.
  • CVE-2022-22243 (CVSS score: 4.3) & CVE-2022-22244 (CVSS score: 5.3) – Two XPATH injection flaws exploited by a remote authenticated attacker to steal and manipulate Junos OS admin sessions
  • CVE-2022-22245 (CVSS score: 4.3) – A path traversal flaw that could allow a remote authenticated attacker to download PHP files to any arbitrary location, similar to the RARlab UnRAR flaw recently revealed (CVE-2022-30333), and
  • CVE-2022-22246 (CVSS Score: 7.5) – A local file inclusion vulnerability that could be weaponized to execute untrusted PHP code.
cyber security

“This [CVE-2022-22246] allows an attacker to include any PHP file stored on the server,” Yibelo noted. “If this vulnerability is exploited in conjunction with the file download vulnerability, it may lead to remote code execution.

Users of Juniper Networks firewalls, routers, and switches are recommended to apply the latest software patch available for Junos OS to mitigate the aforementioned threats.

“One or more of these issues could lead to unauthorized local file access, cross-site scripting attacks, path injection and traversal, or local file inclusion,” Juniper Networks disclosed in an advisory published on October 12, 2022.

Issues have been resolved in 19.1R3-S9, 19.2R3-S6, 19.3R3-S7, 19.4R3-S9, 20.1R3-S5, 20.2R3-S5, 20.3R3-S5, 20.4R3-S4, 21.1 JunosOS. R3-S2, 21.3R3, 21.4R3, 22.1R2, 22.2R1 and later.

Source link