1. Archivio CVE
  2. 2020
  3. CVE-2020-27216

CVE-2020-27216

7 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 7 – Alta

Descrizione

In Eclipse Jetty versions 1.0 thru 9.4.32.v20200930, 10.0.0.alpha1 thru 10.0.0.beta2, and 11.0.0.alpha1 thru 11.0.0.beta2O, on Unix like systems, the system's temporary directory is shared between all users on that system. A collocated user can observe the process of creating a temporary sub directory in the shared temporary directory and race to complete the creation of the temporary subdirectory. If the attacker wins the race then they will have read and write permission to the subdirectory used to unpack web applications, including their WEB-INF/lib jar files and JSP files. If any code is ever executed out of this temporary directory, this can lead to a local privilege escalation vulnerability.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apache beam 2.21.0 –
apache beam 2.22.0 –
apache beam 2.23.0 –
apache beam 2.24.0 –
apache beam 2.25.0 –
debian debian linux 9.0 –
debian debian linux 10.0 –
eclipse jetty >= 1.0 < 9.3.29 –
eclipse jetty >= 9.4.0 <= 9.4.32 –
eclipse jetty 10.0.0 alpha1 –
eclipse jetty 10.0.0 beta0 –
eclipse jetty 10.0.0 beta1 –
eclipse jetty 10.0.0 beta2 –
eclipse jetty 11.0.0 alpha1 –
eclipse jetty 11.0.0 beta1 –
eclipse jetty 11.0.0 beta2 –
netapp snap creator framework tutte –
netapp snapcenter tutte –
netapp storage replication adapter >= 7.2 clustered_data_ontap
netapp vasa provider >= 7.2 clustered_data_ontap
netapp virtual storage console >= 7.2 vmware_vsphere
oracle communications application session controller 3.9m0p2 –
oracle communications converged application server - service controller 6.2 –
oracle communications element manager >= 8.2.1 <= 8.2.2.1 –
oracle communications offline mediation controller 12.0.0.3.0 –
oracle communications pricing design center 12.0.0.3.0 –
oracle communications services gatekeeper 7.0 –
oracle flexcube core banking >= 11.5.0 <= 11.9.0 –
oracle flexcube private banking 12.0.0 –
oracle flexcube private banking 12.1.0 –
oracle jd edwards enterpriseone tools < 9.2.6.0 –
oracle siebel core - automation <= 21.5 –
Tutte le 52 vulnerabilità di Eclipse Jetty

Tipo di vulnerabilità

CWE-378 Creation of Temporary File With Insecure Permissions

Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione
Autorizzazione, Altro Altro
Integrità, Altro Altro

Come si previene

Requisiti Many contemporary languages have functions which properly handle this condition. Older C temp file functions are especially susceptible.
Sviluppo Ensure that you use proper file permissions. This can be achieved by using a safe temp file function. Temporary files should be writable and readable only by the process that owns the file.
Sviluppo Randomize temporary file names. This can also be achieved by using a safe temp-file function. This will ensure that temporary files will not be created in predictable places.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 31 CVE di tipo CWE-378, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org