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 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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:*
cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:*
cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha2:*:*:*:*:*:*

History

No history.

Information

Published : 2022-09-05 17:15

Updated : 2024-02-28 19:29


NVD link : CVE-2021-28398

Mitre link : CVE-2021-28398

CVE.ORG link : CVE-2021-28398


JSON object : View

Products Affected

osgeo

  • geonetwork
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')