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.
References
Link | Resource |
---|---|
https://geonetwork-opensource.org/ | Product |
https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html | Patch Release Notes Vendor Advisory |
https://github.com/geonetwork/core-geonetwork | Third Party Advisory |
https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf | Mitigation Patch Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2022-09-05T16:09:29
Updated: 2022-09-05T16:09:29
Reserved: 2021-03-15T00:00:00
Link: CVE-2021-28398
JSON object: View
NVD Information
Status : Analyzed
Published: 2022-09-05T17:15:19.083
Modified: 2022-10-01T02:18:23.047
Link: CVE-2021-28398
JSON object: View
Redhat Information
No data.
CWE