Vulnerability Name:

CVE-2022-22248 (CCN-238472)

Assigned:2021-12-21
Published:2022-10-12
Updated:2022-10-20
Summary:An Incorrect Permission Assignment vulnerability in shell processing of Juniper Networks Junos OS Evolved allows a low-privileged local user to modify the contents of a configuration file which could cause another user to execute arbitrary commands within the context of the follow-on user's session. If the follow-on user is a high-privileged administrator, the attacker could leverage this vulnerability to take complete control of the target system. While this issue is triggered by a user, other than the attacker, accessing the Junos shell, an attacker simply requires Junos CLI access to exploit this vulnerability. This issue affects Juniper Networks Junos OS Evolved: 20.4-EVO versions prior to 20.4R3-S1-EVO; All versions of 21.1-EVO; 21.2-EVO versions prior to 21.2R3-EVO; 21.3-EVO versions prior to 21.3R2-EVO. This issue does not affect Juniper Networks Junos OS Evolved versions prior to 19.2R1-EVO.
CVSS v3 Severity:7.3 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H)
6.4 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-732
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-22248

Source: XF
Type: UNKNOWN
juniper-cve202222248-cmd-exec(238472)

Source: CONFIRM
Type: Vendor Advisory
https://kb.juniper.net/JSA69905

Source: CCN
Type: Juniper Networks Security Bulletin JSA69905
Junos OS Evolved: Incorrect file permissions can allow low-privileged user to cause another user to execute arbitrary commands (CVE-2022-22248)

Vulnerable Configuration:Configuration 1:
  • cpe:/o:juniper:junos_os_evolved:20.4:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.1:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.1:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.1:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.2:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.2:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.2:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.1:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:20.4:r1-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:20.4:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:20.4:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:20.4:r2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:20.4:r2-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:20.4:r2-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:20.4:r2-s3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:20.4:r3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.1:r3:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.1:r3-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.2:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.2:r1-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.2:r2-s1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.2:r2-s2:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.3:-:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.3:r1:*:*:*:*:*:*
  • OR cpe:/o:juniper:junos_os_evolved:21.3:r1-s1:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    juniper junos os evolved 20.4 r1
    juniper junos os evolved 21.1 r1
    juniper junos os evolved 21.1 r2
    juniper junos os evolved 21.1 r1-s1
    juniper junos os evolved 21.2 r1
    juniper junos os evolved 21.2 r1-s1
    juniper junos os evolved 21.2 r2
    juniper junos os evolved 21.1 -
    juniper junos os evolved 20.4 r1-s1
    juniper junos os evolved 20.4 -
    juniper junos os evolved 20.4 r1-s2
    juniper junos os evolved 20.4 r2
    juniper junos os evolved 20.4 r2-s1
    juniper junos os evolved 20.4 r2-s2
    juniper junos os evolved 20.4 r2-s3
    juniper junos os evolved 20.4 r3
    juniper junos os evolved 21.1 r3
    juniper junos os evolved 21.1 r3-s1
    juniper junos os evolved 21.2 -
    juniper junos os evolved 21.2 r1-s2
    juniper junos os evolved 21.2 r2-s1
    juniper junos os evolved 21.2 r2-s2
    juniper junos os evolved 21.3 -
    juniper junos os evolved 21.3 r1
    juniper junos os evolved 21.3 r1-s1