CVE-2021-31358

Vulnérabilité élevée dans Junos OS Evolved (Juniper Networks)

CVSS 7.8 · Élevée
EPSS 0.6%
Juniper Networks•Junos OS Evolved•Versions : 21.2, 21.1, <20.4R2-S2-EVO, <21.1R2-EVO, <21.2R1-S1-EVO, 21.2R2-EVO

Description

A command injection vulnerability in sftp command processing on Juniper Networks Junos OS Evolved allows an attacker with authenticated CLI access to be able to bypass configured access protections to execute arbitrary shell commands within the context of the current user. The vulnerability allows an attacker to bypass command authorization restrictions assigned to their specific user account and execute commands that are available to the privilege level for which the user is assigned. For example, a user that is in the super-user login class, but restricted to executing specific CLI commands could exploit the vulnerability to execute any other command available to an unrestricted admin user. This vulnerability does not increase the privilege level of the user, but rather bypasses any CLI command restrictions by allowing full access to the shell. This issue affects Juniper Networks Junos OS Evolved: All versions prior to 20.4R2-S2-EVO; 21.1 versions prior to 21.1R2-EVO; 21.2 versions prior to 21.2R1-S1-EVO, 21.2R2-EVO.

Gravité et risque d'exploitation

CVE-2021-31358 obtient un score CVSS de 7.8/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.62 %, ce qui la place devant 48.9 % des CVE référencées.

Que faire ?

  • Vérifiez si Junos OS Evolved (versions 21.2, 21.1, <20.4R2-S2-EVO, <21.1R2-EVO, <21.2R1-S1-EVO, 21.2R2-EVO) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références