CVE-2021-28398

Summary

CVECVE-2021-28398
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-09-05 17:15:00 UTC
Updated2022-10-01 02:18:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-78

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Geonetwork-opensource Geonetwork All All All All
Application Geonetwork-opensource Geonetwork 4.0.0 alpha1 All All
Application Geonetwork-opensource Geonetwork 4.0.0 alpha2 All All
Application Osgeo Geonetwork All All All All
Application Osgeo Geonetwork 4.0.0 alpha1 All All
Application Osgeo Geonetwork 4.0.0 alpha2 All All

References

ReferenceSourceLinkTags
Remote Code Execution through Before-Script field in Local Filesystem Harvester · Advisory · geonetwork/core-geonetwork · GitHub CONFIRM github.com
GitHub - geonetwork/core-geonetwork: GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world. MISC github.com
Home — GeoNetwork opensource MISC geonetwork-opensource.org
Version 3.6.0 — GeoNetwork opensource v3.10 GeoNetwork Documentation MISC geonetwork-opensource.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 730700 GeoNetwork OS Command Injection Vulnerbility
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report