VULNERABILITY INTELLIGENCE
CVE-2021-28398
CVSS score7.2 HIGH
EPSS probability1.46%
CISA KEVNot currently listed
Published2022-09-05
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- nvd@nist.gov: CWE-78
Primary references
- cve@mitre.org — Product
- cve@mitre.org — Patch, Release Notes, Vendor Advisory
- cve@mitre.org — Third Party Advisory
- cve@mitre.org — Mitigation, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Product
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Release Notes, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mitigation, Patch, Third Party Advisory