CVEvulnerability

CVE-2021-28398

7.2 HIGH Published 2022-09-05 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-09-05
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78

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.

Affected configurations

• osgeo geonetwork (>= 3.4.0 < 3.12.0) • osgeo geonetwork (>= 4.0.0 < 4.0.4) • osgeo geonetwork 4.0.0

Related

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References