An Incorrect Default Permissions vulnerability in the command line interface (CLI) of Juniper Networks Junos OS Evolved allows a low privileged local attacker to view NETCONF traceoptions files, representing an exposure of sensitive information.
On all Junos OS Evolved platforms, when NETCONF traceoptions are configured, NETCONF traceoptions files get created with an incorrect group permission, which allows
a low-privileged user can access sensitive information compromising the confidentiality of the system.
Junos OS Evolved:
- All versions before 20.4R3-S9-EVO,
- 21.2-EVO before 21.2R3-S7-EVO,
- 21.4-EVO before 21.4R3-S5-EVO,
- 22.1-EVO before 22.1R3-S5-EVO,
- 22.2-EVO before 22.2R3-S3-EVO,
- 22.3-EVO before 22.3R3-EVO, 22.3R3-S2-EVO,
- 22.4-EVO before 22.4R3-EVO,
- 23.2-EVO before 23.2R1-S2-EVO, 23.2R2-EVO.
Weakness
During installation, installed file permissions are set to allow anyone to modify those files.
Potential Mitigations
- Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
- Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
References