7.2
CWE
78
Advisory Published
Updated

CVE-2021-28398: OS Command Injection

First published: Mon Sep 05 2022(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Osgeo Geonetwork>=3.4.0<3.12.0
Osgeo Geonetwork>=4.0.0<4.0.4
Osgeo Geonetwork=4.0.0-alpha1
Osgeo Geonetwork=4.0.0-alpha2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-28398?

    CVE-2021-28398 is a vulnerability in GeoNetwork before version 3.12.0 and 4.x before 4.0.4 that allows a privileged attacker to execute arbitrary OS commands remotely on the hosting infrastructure.

  • What is the severity of CVE-2021-28398?

    The severity of CVE-2021-28398 is high with a CVSS score of 7.2.

  • How does CVE-2021-28398 affect GeoNetwork?

    CVE-2021-28398 affects GeoNetwork versions before 3.12.0 and 4.x before 4.0.4, allowing a privileged attacker to execute arbitrary OS commands remotely on the hosting infrastructure.

  • How can I fix CVE-2021-28398?

    To fix CVE-2021-28398, it is recommended to upgrade to GeoNetwork version 3.12.0 or version 4.0.4 or later.

  • Where can I find more information about CVE-2021-28398?

    More information about CVE-2021-28398 can be found on the official GeoNetwork website and in the GeoNetwork change log.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203