FKIE_CVE-2021-28398
Vulnerability from fkie_nvd - Published: 2022-09-05 17:15 - Updated: 2024-11-21 05:59
Severity ?
Summary
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.
References
| URL | Tags | ||
|---|---|---|---|
| cve@mitre.org | https://geonetwork-opensource.org/ | Product | |
| cve@mitre.org | https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html | Patch, Release Notes, Vendor Advisory | |
| cve@mitre.org | https://github.com/geonetwork/core-geonetwork | Third Party Advisory | |
| cve@mitre.org | https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf | Mitigation, Patch, Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://geonetwork-opensource.org/ | Product | |
| af854a3a-2127-422b-91ae-364da2661108 | https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html | Patch, Release Notes, Vendor Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://github.com/geonetwork/core-geonetwork | Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf | Mitigation, Patch, Third Party Advisory |
Impacted products
| Vendor | Product | Version | |
|---|---|---|---|
| osgeo | geonetwork | * | |
| osgeo | geonetwork | * | |
| osgeo | geonetwork | 4.0.0 | |
| osgeo | geonetwork | 4.0.0 |
{
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:*",
"matchCriteriaId": "1299B47E-8561-47D5-BF7B-2E33CC71BF9F",
"versionEndExcluding": "3.12.0",
"versionStartIncluding": "3.4.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:*",
"matchCriteriaId": "5959BA61-0F46-4F25-8AD7-3AF29CEDF3F8",
"versionEndExcluding": "4.0.4",
"versionStartIncluding": "4.0.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha1:*:*:*:*:*:*",
"matchCriteriaId": "58A83C77-BABD-4DE5-BEC9-30798C3CB6B8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:osgeo:geonetwork:4.0.0:alpha2:*:*:*:*:*:*",
"matchCriteriaId": "58DC7012-9FE1-4A16-9807-885939EEA36E",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Un atacante privilegiado en GeoNetwork versiones anteriores a 3.12.0 y versiones 4.x anteriores a 4.0.4, puede usar el script previo del recolector de directorios para ejecutar comandos arbitrarios del Sistema Operativo de forma remota en la infraestructura de alojamiento. Para llevarlo a cabo es requerida una cuenta de usuario administrador o de administrador. Esto ocurre en el m\u00e9todo runBeforeScript en harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvester/localfilesystem/LocalFilesystemHarvester.java. La primera versi\u00f3n afectada es la 3.4.0"
}
],
"id": "CVE-2021-28398",
"lastModified": "2024-11-21T05:59:37.727",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.2,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.2,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2022-09-05T17:15:19.083",
"references": [
{
"source": "cve@mitre.org",
"tags": [
"Product"
],
"url": "https://geonetwork-opensource.org/"
},
{
"source": "cve@mitre.org",
"tags": [
"Patch",
"Release Notes",
"Vendor Advisory"
],
"url": "https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html"
},
{
"source": "cve@mitre.org",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/geonetwork/core-geonetwork"
},
{
"source": "cve@mitre.org",
"tags": [
"Mitigation",
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Product"
],
"url": "https://geonetwork-opensource.org/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch",
"Release Notes",
"Vendor Advisory"
],
"url": "https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/geonetwork/core-geonetwork"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Mitigation",
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-78"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…