GHSA-5F4X-HWV2-W9W2
Vulnerability from github – Published: 2024-07-05 00:31 – Updated: 2024-11-18 16:26
VLAI?
Summary
rejetto HFS vulnerable to OS Command Execution by remote authenticated users
Details
rejetto HFS (aka HTTP File Server) 3 before 0.52.10 on Linux, UNIX, and macOS allows OS command execution by remote authenticated users (if they have Upload permissions). This occurs because a shell is used to execute df (i.e., with execSync instead of spawnSync in child_process in Node.js).
Severity ?
9.9 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "hfs"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.52.10"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2024-39943"
],
"database_specific": {
"cwe_ids": [
"CWE-284",
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2024-07-08T18:38:39Z",
"nvd_published_at": "2024-07-04T23:15:09Z",
"severity": "HIGH"
},
"details": "rejetto HFS (aka HTTP File Server) 3 before 0.52.10 on Linux, UNIX, and macOS allows OS command execution by remote authenticated users (if they have Upload permissions). This occurs because a shell is used to execute df (i.e., with execSync instead of spawnSync in child_process in Node.js).",
"id": "GHSA-5f4x-hwv2-w9w2",
"modified": "2024-11-18T16:26:49Z",
"published": "2024-07-05T00:31:07Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-39943"
},
{
"type": "WEB",
"url": "https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d"
},
{
"type": "PACKAGE",
"url": "https://github.com/rejetto/hfs"
},
{
"type": "WEB",
"url": "https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10"
},
{
"type": "WEB",
"url": "https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
}
],
"summary": "rejetto HFS vulnerable to OS Command Execution by remote authenticated users"
}
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…