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

01 Oct 2022, 02:18

Type Values Removed Values Added
CPE cpe:2.3:a:geonetwork-opensource:geonetwork:4.0.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:geonetwork-opensource:geonetwork:*:*:*:*:*:*:*:*
cpe:2.3:a:geonetwork-opensource:geonetwork:4.0.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:*
cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha1:*:*:*:*:*:*
First Time Osgeo
Osgeo geonetwork

09 Sep 2022, 13:45

Type Values Removed Values Added
CWE CWE-78
CPE cpe:2.3:a:geonetwork-opensource:geonetwork:4.0.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:geonetwork-opensource:geonetwork:4.0.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:geonetwork-opensource:geonetwork:*:*:*:*:*:*:*:*
First Time Geonetwork-opensource
Geonetwork-opensource geonetwork
References (MISC) https://geonetwork-opensource.org/ - (MISC) https://geonetwork-opensource.org/ - Product
References (MISC) https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html - (MISC) https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html - Patch, Release Notes, Vendor Advisory
References (MISC) https://github.com/geonetwork/core-geonetwork - (MISC) https://github.com/geonetwork/core-geonetwork - Third Party Advisory
References (CONFIRM) https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf - (CONFIRM) https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf - Mitigation, Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.2

05 Sep 2022, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-09-05 17:15

Updated : 2023-12-10 14:35


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')