Vulnerability Details : 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.
Products affected by CVE-2021-28398
- cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha2:*:*:*:*:*:*
- cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha1:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-28398
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-28398
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
1.2
|
5.9
|
NIST |
CWE ids for CVE-2021-28398
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-28398
-
https://geonetwork-opensource.org/
Home — GeoNetwork opensourceProduct
-
https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf
Remote Code Execution through Before-Script field in Local Filesystem Harvester · Advisory · geonetwork/core-geonetwork · GitHubMitigation;Patch;Third Party Advisory
-
https://github.com/geonetwork/core-geonetwork
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 interactiveThird Party Advisory
-
https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html
Version 3.6.0 — GeoNetwork opensource v3.10 GeoNetwork DocumentationPatch;Release Notes;Vendor Advisory
Jump to