CVE-2021-28398

HIGHCVSS 7.2/10EPSS 1.09%

Last modified

CVE-2021-28398 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 1.09% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.2/10

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
1.09%

61.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
OsgeoGeonetwork>= 3.4.0, < 3.12.0
OsgeoGeonetwork>= 4.0.0, < 4.0.4
OsgeoGeonetwork4.0.0Alpha1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2021-28398?
CVE-2021-28398 has a CVSS score of 7.2/10 (HIGH severity). The EPSS model estimates a 1.09% probability of exploitation in the next 30 days.
How do I fix CVE-2021-28398?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-28398?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST