Remote Code Execution Vulnerability in GeoNetwork by FAO
CVE-2021-28398
7.2HIGH
What is CVE-2021-28398?
A vulnerability exists in GeoNetwork, specifically prior to version 3.12.0 and 4.0.4, which allows a privileged attacker to execute arbitrary operating system commands remotely through the directory harvester before-script functionality. This requires access to either a User Administrator or Administrator account. The vulnerability arises from the failure to properly sanitize input in the 'runBeforeScript' method of the LocalFilesystemHarvester component, potentially exposing the hosting infrastructure to significant risk.
