title: Junos OS and Junos OS Evolved: A local attacker can retrieve sensitive information and elevate privileges on the device to an authorized user.
description:
An Incorrect Permission Assignment for Critical Resource vulnerability in a specific file of Juniper Networks Junos OS and Junos OS Evolved allows a local authenticated attacker to read configuration changes without having the permissions.
When a user with the respective permissions commits a configuration change, a specific file is created. That file is readable even by users with no permissions to access the configuration. This can lead to privilege escalation as the user can read the password hash when a password change is being committed.
This issue affects:
Juniper Networks Junos OS
*  All versions prior to 20.4R3-S4;
*  21.1 versions prior to 21.1R3-S4;
*  21.2 versions prior to 21.2R3-S2;
*  21.3 versions prior to 21.3R2-S2, 21.3R3-S1;
*  21.4 versions prior to 21.4R2-S1, 21.4R3.
Juniper Networks Junos OS Evolved
*  All versions prior to 20.4R3-S4-EVO;
*  21.1 versions prior to 21.1R3-S2-EVO;
*  21.2 versions prior to 21.2R3-S2-EVO;
*  21.3 versions prior to 21.3R3-S1-EVO;
*  21.4 versions prior to 21.4R2-S2-EVO.
problem types: CWE-732 Incorrect Permission Assignment for Critical Resource
affected:
{
defaultStatus: unaffected
product: Junos OS
vendor: Juniper Networks
versions:
lessThan: 20.4R3-S4, status: affected, version: 0, versionType: semver
lessThan: 21.1R3-S4, status: affected, version: 21.1, versionType: semver
lessThan: 21.2R3-S2, status: affected, version: 21.2, versionType: semver
lessThan: 21.3R2-S2, 21.3R3-S1, status: affected, version: 21.3, versionType: semver
lessThan: 21.4R2-S1, 21.4R3, status: affected, version: 21.4, versionType: semver
}
{
defaultStatus: unaffected
product: Junos OS Evolved
vendor: Juniper Networks
versions:
lessThan: 20.4R3-S4-EVO, status: affected, version: 0, versionType: semver
lessThan: 21.1R3-S2-EVO, status: affected, version: 21.1-EVO, versionType: semver
lessThan: 21.2R3-S2-EVO, status: affected, version: 21.2-EVO, versionType: semver
lessThan: 21.3R3-S1-EVO, status: affected, version: 21.3-EVO, versionType: semver
lessThan: 21.4R2-S2-EVO, 21.4R3-EVO, status: affected, version: 21.4-EVO, versionType: semver
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: NONE
baseScore: 5
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL
exploits: Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
solutions: The following software releases have been updated to resolve this specific issue:
Junos OS: 20.4R3-S4, 21.1R3-S4, 21.2R3-S2, 21.3R2-S2, 21.3R3-S1, 21.4R2-S1, 21.4R3, 22.1R1, and all subsequent releases.
Junos OS Evolved: 20.4R3-S4-EVO, 21.1R3-S2-EVO, 21.2R3-S2-EVO, 21.4R2-S2-EVO, 21.4R3-EVO, 22.1R1-EVO, and all subsequent releases.
workarounds: There are no known workarounds for this issue.