CVE-2021-28398

Severity CVSS v4.0:
Pending analysis
Type:
CWE-78 OS Command Injections
Publication date:
05/09/2022
Last modified:
01/10/2022

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:* 3.4.0 (including) 3.12.0 (excluding)
cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:* 4.0.0 (including) 4.0.4 (excluding)
cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha2:*:*:*:*:*:*