ghsa-5f4x-hwv2-w9w2
Vulnerability from github
Published
2024-07-05 00:31
Modified
2024-11-18 16:26
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).

Show details on source website


{
  "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"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.