CVE-2021-28398
JSON

7.2high

A privileged attacker in GeoNetwork before 3.12.0 and 4.x before 4.0.4 can use the directory harvester before-script to execute arbitrary O…

Severity
7.2high CVSS:3.1 by NVD
Exploit likelihood
1.50% (higher than 75% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

A privileged attacker in GeoNetwork before 3.12.0 and 4.x before 4.0.4 can use the directory harvester before-script to execute arbitrary OS commands remotely on the hosting infrastructure. A User Administrator or Administrator account is required to perform this. This occurs in the runBeforeScript method in harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvester/localfilesystem/LocalFilesystemHarvester.java. The earliest affected version is 3.4.0.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
osgeo geonetworkfrom 3.4.0 before 3.12.0, from 4.0.0 before 4.0.4, 4.0.0NVD

Classification

What each source says

CVE List

A privileged attacker in GeoNetwork before 3.12.0 and 4.x before 4.0.4 can use the directory harvester before-script to execute arbitrary OS commands remotely on the hosting infrastructure. A User Administrator or Administrator account is required to perform this. This occurs in the runBeforeScript method in harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvester/localfilesystem/LocalFilesystemHarvester.java. The earliest affected version is 3.4.0.

NVD (es)

Un atacante privilegiado en GeoNetwork versiones anteriores a 3.12.0 y versiones 4.x anteriores a 4.0.4, puede usar el script previo del recolector de directorios para ejecutar comandos arbitrarios del Sistema Operativo de forma remota en la infraestructura de alojamiento. Para llevarlo a cabo es requerida una cuenta de usuario administrador o de administrador. Esto ocurre en el método runBeforeScript en harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvester/localfilesystem/LocalFilesystemHarvester.java. La primera versión afectada es la 3.4.0

References

Sources

SourceRecordLicence
CVE ListCVE-2021-28398 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-28398 changed 2026-06-17Public domain