CVE Vulnerabilities

CVE-2024-21615

Incorrect Default Permissions

Published: Apr 12, 2024 | Modified: Apr 12, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

An Incorrect Default Permissions vulnerability in Juniper Networks Junos OS and Junos OS Evolved allows a local, low-privileged attacker to access confidential information on the system.

On all Junos OS and Junos OS Evolved platforms, when NETCONF traceoptions are configured, and a super-user performs specific actions via NETCONF, then a low-privileged user can access sensitive information compromising the confidentiality of the system. This issue affects:

Junos OS:

  • all versions before 21.2R3-S7, 

  • from 21.4 before 21.4R3-S5, 

  • from 22.1 before 22.1R3-S5, 

  • from 22.2 before 22.2R3-S3, 

  • from 22.3 before 22.3R3-S2, 

  • from 22.4 before 22.4R3, 

  • from 23.2 before 23.2R1-S2.

Junos OS Evolved: 

  • all versions before 21.2R3-S7-EVO, 

  • from 21.3 before 21.3R3-S5-EVO, 

  • from 21.4 before 21.4R3-S5-EVO, 

  • from 22.1 before 22.1R3-S5-EVO, 

  • from 22.2 before 22.2R3-S3-EVO, 

  • from 22.3 before 22.3R3-S2-EVO,

  • from 22.4 before 22.4R3-EVO, 

  • from 23.2 before 23.2R1-S2.

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