GHSA-7X92-2J68-H32C

Vulnerability from github – Published: 2020-09-01 19:03 – Updated: 2020-08-31 18:27
VLAI?
Summary
Directory Traversal in featurebook
Details

Affected versions of featurebook resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.

The featurebook package is not intended to be run in production code nor to be exposed to an untrusted network.

Proof of Concept

GET /../../../../../../../../../../etc/passwd HTTP/1.1
host:foo

Recommendation

No direct patch is currently available.

At this time, the best mitigation is to ensure that featurebook is not running in production or exposed to an untrusted network.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "featurebook"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:27:38Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "Affected versions of `featurebook` resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.\n\nThe `featurebook` package is not intended to be run in production code nor to be exposed to an untrusted network.\n\n\n## Proof of Concept\n```\nGET /../../../../../../../../../../etc/passwd HTTP/1.1\nhost:foo\n```\n\n\n## Recommendation\n\nNo direct patch is currently available.\n\nAt this time, the best mitigation is to ensure that `featurebook` is not running in production or exposed to an untrusted network.",
  "id": "GHSA-7x92-2j68-h32c",
  "modified": "2020-08-31T18:27:38Z",
  "published": "2020-09-01T19:03:02Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/296305"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/556"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Directory Traversal in featurebook"
}


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 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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…