7.2
HIGH
CVE-2021-28398
GeoNetwork Remote OS Command Execution Vulnerability
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.

INFO

Published Date :

Sept. 5, 2022, 5:15 p.m.

Last Modified :

Oct. 1, 2022, 2:18 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

1.2
Affected Products

The following products are affected by CVE-2021-28398 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Osgeo geonetwork
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-28398.

URL 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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-28398 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-28398 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Oct. 01, 2022

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:geonetwork-opensource:geonetwork:*:*:*:*:*:*:*:* versions from (including) 3.4.0 up to (excluding) 3.12.0 *cpe:2.3:a:geonetwork-opensource:geonetwork:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.0.4 *cpe:2.3:a:geonetwork-opensource:geonetwork:4.0.0:alpha1:*:*:*:*:*:* *cpe:2.3:a:geonetwork-opensource:geonetwork:4.0.0:alpha2:*:*:*:*:*:* OR *cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:* versions from (including) 3.4.0 up to (excluding) 3.12.0 *cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.0.4 *cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha1:*:*:*:*:*:* *cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha2:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    Sep. 09, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://geonetwork-opensource.org/ No Types Assigned https://geonetwork-opensource.org/ Product
    Changed Reference Type https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html No Types Assigned https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html Patch, Release Notes, Vendor Advisory
    Changed Reference Type https://github.com/geonetwork/core-geonetwork No Types Assigned https://github.com/geonetwork/core-geonetwork Third Party Advisory
    Changed Reference Type https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf No Types Assigned https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf Mitigation, Patch, Third Party Advisory
    Added CWE NIST CWE-78
    Added CPE Configuration OR *cpe:2.3:a:geonetwork-opensource:geonetwork:*:*:*:*:*:*:*:* versions from (including) 3.4.0 up to (excluding) 3.12.0 *cpe:2.3:a:geonetwork-opensource:geonetwork:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.0.4 *cpe:2.3:a:geonetwork-opensource:geonetwork:4.0.0:alpha1:*:*:*:*:*:* *cpe:2.3:a:geonetwork-opensource:geonetwork:4.0.0:alpha2:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-28398 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.13 }} -0.00%

score

0.48356

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability