RCE in Osgeo Geonetwork

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.014 (71.9th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 71.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-28398: held from 0.012 to 0.014.

EPSS over last 30 days · oldest: 0.012 · newest: 0.014 · change: +0.003

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-28398?
CVE-2021-28398 is a high-severity vulnerability in Osgeo Geonetwork, classified under OS Command Injection. CVSS score: 7.2/10. Published 2022-09-05.
How severe is CVE-2021-28398?
High severity. CVSS v3 base score is 7.2 out of 10.