An Execution with Unnecessary Privileges vulnerability in Management Daemon (mgd) of Juniper Networks Junos OS Evolved allows a locally authenticated attacker with low privileges to escalate their privileges on the device and potentially remote systems. This vulnerability allows a locally authenticated attacker with access to the ssh operational command to escalate their privileges on the system to root, or if there is user interaction on the local device to potentially escalate privileges on a remote system to root. This issue affects Juniper Networks Junos OS Evolved: All versions prior to 20.4R3-S5-EVO; 21.1-EVO versions prior to 21.1R3-EVO; 21.2-EVO versions prior to 21.2R2-S1-EVO, 21.2R3-EVO; 21.3-EVO versions prior to 21.3R2-EVO. This issue does not affect Juniper Networks Junos OS.
The product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Junos_os_evolved | Juniper | * | 20.4 (excluding) |
Junos_os_evolved | Juniper | 20.4 (including) | 20.4 (including) |
Junos_os_evolved | Juniper | 20.4-r1 (including) | 20.4-r1 (including) |
Junos_os_evolved | Juniper | 20.4-r1-s1 (including) | 20.4-r1-s1 (including) |
Junos_os_evolved | Juniper | 20.4-r1-s2 (including) | 20.4-r1-s2 (including) |
Junos_os_evolved | Juniper | 20.4-r2 (including) | 20.4-r2 (including) |
Junos_os_evolved | Juniper | 20.4-r2-s1 (including) | 20.4-r2-s1 (including) |
Junos_os_evolved | Juniper | 20.4-r2-s2 (including) | 20.4-r2-s2 (including) |
Junos_os_evolved | Juniper | 20.4-r2-s3 (including) | 20.4-r2-s3 (including) |
Junos_os_evolved | Juniper | 20.4-r3 (including) | 20.4-r3 (including) |
Junos_os_evolved | Juniper | 20.4-r3-s1 (including) | 20.4-r3-s1 (including) |
Junos_os_evolved | Juniper | 20.4-r3-s2 (including) | 20.4-r3-s2 (including) |
Junos_os_evolved | Juniper | 20.4-r3-s3 (including) | 20.4-r3-s3 (including) |
Junos_os_evolved | Juniper | 20.4-r3-s4 (including) | 20.4-r3-s4 (including) |
Junos_os_evolved | Juniper | 21.1 (including) | 21.1 (including) |
Junos_os_evolved | Juniper | 21.1-r1 (including) | 21.1-r1 (including) |
Junos_os_evolved | Juniper | 21.1-r1-s1 (including) | 21.1-r1-s1 (including) |
Junos_os_evolved | Juniper | 21.1-r2 (including) | 21.1-r2 (including) |
Junos_os_evolved | Juniper | 21.2 (including) | 21.2 (including) |
Junos_os_evolved | Juniper | 21.2-r1 (including) | 21.2-r1 (including) |
Junos_os_evolved | Juniper | 21.2-r1-s1 (including) | 21.2-r1-s1 (including) |
Junos_os_evolved | Juniper | 21.2-r1-s2 (including) | 21.2-r1-s2 (including) |
Junos_os_evolved | Juniper | 21.2-r2 (including) | 21.2-r2 (including) |
Junos_os_evolved | Juniper | 21.3 (including) | 21.3 (including) |
Junos_os_evolved | Juniper | 21.3-r1 (including) | 21.3-r1 (including) |
Junos_os_evolved | Juniper | 21.3-r1-s1 (including) | 21.3-r1-s1 (including) |
New weaknesses can be exposed because running with extra privileges, such as root or Administrator, can disable the normal security checks being performed by the operating system or surrounding environment. Other pre-existing weaknesses can turn into security vulnerabilities if they occur while operating at raised privileges. Privilege management functions can behave in some less-than-obvious ways, and they have different quirks on different platforms. These inconsistencies are particularly pronounced if you are transitioning from one non-root user to another. Signal handlers and spawned processes run at the privilege of the owning process, so if a process is running as root when a signal fires or a sub-process is executed, the signal handler or sub-process will operate with root privileges.