Search criteria

1 vulnerability by 9front

CVE-2024-8158 (GCVE-0-2024-8158)

Vulnerability from cvelistv5 – Published: 2024-08-25 21:31 – Updated: 2024-08-26 15:22
VLAI?
Summary
A bug in the 9p authentication implementation within lib9p allows an attacker with an existing valid user within the configured auth server to impersonate any other valid filesystem user. This is due to lib9p not properly verifying that the uname given in the Tauth and Tattach 9p messages matches the client UID returned from the factotum authentication handshake. The only filesystem making use of these functions within the base 9front systems is the experimental hjfs disk filesystem, other disk filesystems (cwfs and gefs) are not affected by this bug. This bug was inherited from Plan 9 and is present in all versions of 9front and is remedied fully in commit 9645ae07eb66a59015e3e118d0024790c37400da.
CWE
  • CWE-639 - Authorization Bypass Through User-Controlled Key
Assigner
Impacted products
Vendor Product Version
9front 9front Affected: 0 , < 9645ae07eb66a59015e3e118d0024790c37400da (Commit Hash)
Create a notification for this product.
Credits
humm Jacob Moody cinap_lenrek
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "affected": [
          {
            "cpes": [
              "cpe:2.3:a:9front:9front:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "9front",
            "vendor": "9front",
            "versions": [
              {
                "lessThan": "9645ae07eb66a59015e3e118d0024790c37400da",
                "status": "affected",
                "version": "0",
                "versionType": "custom"
              }
            ]
          }
        ],
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-8158",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-08-26T15:20:06.656882Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-08-26T15:22:18.885Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "modules": [
            "lib9p",
            "hjfs"
          ],
          "product": "9front",
          "repo": "http://git.9front.org/plan9front/plan9front/HEAD/info.html",
          "vendor": "9front",
          "versions": [
            {
              "lessThan": "9645ae07eb66a59015e3e118d0024790c37400da",
              "status": "affected",
              "version": "0",
              "versionType": "Commit Hash"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "humm"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jacob Moody"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "cinap_lenrek"
        }
      ],
      "datePublic": "2024-08-24T21:58:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cdiv\u003eA bug in the 9p authentication implementation within lib9p allows an attacker with an existing valid user within the configured auth server to impersonate any other valid filesystem user.\u003c/div\u003e\u003cdiv\u003eThis is due to lib9p not properly verifying that the uname given in the Tauth and Tattach 9p messages matches the client UID returned from the factotum authentication handshake.\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003eThe only filesystem making use of these functions within the base 9front systems is the experimental hjfs disk filesystem, other disk filesystems (cwfs and gefs) are not affected by this bug.\u003c/div\u003e\u003cdiv\u003eThis bug was inherited from Plan 9 and is present in all versions of 9front and is remedied fully in commit 9645ae07eb66a59015e3e118d0024790c37400da.\u003cbr\u003e\u003c/div\u003e"
            }
          ],
          "value": "A bug in the 9p authentication implementation within lib9p allows an attacker with an existing valid user within the configured auth server to impersonate any other valid filesystem user.\n\nThis is due to lib9p not properly verifying that the uname given in the Tauth and Tattach 9p messages matches the client UID returned from the factotum authentication handshake.\n\n\nThe only filesystem making use of these functions within the base 9front systems is the experimental hjfs disk filesystem, other disk filesystems (cwfs and gefs) are not affected by this bug.\n\nThis bug was inherited from Plan 9 and is present in all versions of 9front and is remedied fully in commit 9645ae07eb66a59015e3e118d0024790c37400da."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-114",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-114 Authentication Abuse"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NO",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "privilegesRequired": "LOW",
            "providerUrgency": "RED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "HIGH",
            "subIntegrityImpact": "HIGH",
            "userInteraction": "NONE",
            "valueDensity": "CONCENTRATED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/AU:N/V:C/RE:L/U:Red",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "HIGH",
            "vulnerabilityResponseEffort": "LOW"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-639",
              "description": "CWE-639 Authorization Bypass Through User-Controlled Key",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-08-25T21:31:08.246Z",
        "orgId": "1d66c9f9-fff2-411a-aa19-ca6312fa25e9",
        "shortName": "9front"
      },
      "references": [
        {
          "tags": [
            "patch"
          ],
          "url": "https://git.9front.org/plan9front/plan9front/07aa9bfeef55ca987d411115adcfbbd4390ecf34/commit.html"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cdiv\u003eUpdate 9front to at least commit 9645ae07eb66a59015e3e118d0024790c37400da and follow these update instructions:\u003c/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003e1. Make and install the now patched version of lib9p.\u003c/div\u003e\u003cdiv\u003e2. Make and install the new patched version of hjfs.\u003c/div\u003e\u003cdiv\u003e3. Make and install the kernel to include the patched hjfs within the kernel\u0027s paqfs.\u003cbr\u003e\u003c/div\u003e"
            }
          ],
          "value": "Update 9front to at least commit 9645ae07eb66a59015e3e118d0024790c37400da and follow these update instructions:\n\n\n\n\n1. Make and install the now patched version of lib9p.\n\n2. Make and install the new patched version of hjfs.\n\n3. Make and install the kernel to include the patched hjfs within the kernel\u0027s paqfs."
        }
      ],
      "source": {
        "discovery": "INTERNAL"
      },
      "title": "User impersonation for lib9p based 9p fileservers",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1d66c9f9-fff2-411a-aa19-ca6312fa25e9",
    "assignerShortName": "9front",
    "cveId": "CVE-2024-8158",
    "datePublished": "2024-08-25T21:31:08.246Z",
    "dateReserved": "2024-08-25T21:25:59.746Z",
    "dateUpdated": "2024-08-26T15:22:18.885Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}