Skip to content

CVE-2021-28398 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 Adm...

HighCVSS 7.2 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
osgeo geonetwork = 4.0.0-alpha1; = 4.0.0-alpha2; >= 3.4.0, < 3.12.0; >= 4.0.0, < 4.0.4 3.12.0, 4.0.4 Fixed

Affected products

ProductAffected versionsFixed in
osgeo geonetwork >= 3.4.0, < 3.12.0 3.12.0
osgeo geonetwork >= 4.0.0, < 4.0.4 4.0.4
osgeo geonetwork = 4.0.0-alpha1 No fix listed
osgeo geonetwork = 4.0.0-alpha2 No fix listed

References