Search criteria

3 vulnerabilities found for lib9p by 9front

FKIE_CVE-2024-8158

Vulnerability from fkie_nvd - Published: 2024-08-25 22:15 - Updated: 2024-09-12 21:00
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.
Impacted products
Vendor Product Version
9front lib9p *

{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:9front:lib9p:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "BD68F1D5-498D-4091-8D27-2BFE3BE1CF4E",
              "versionEndExcluding": "2024-08-24",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "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."
    },
    {
      "lang": "es",
      "value": "Un error en la implementaci\u00f3n de la autenticaci\u00f3n 9p dentro de lib9p permite a un atacante con un usuario v\u00e1lido existente dentro del servidor de autenticaci\u00f3n configurado hacerse pasar por cualquier otro usuario v\u00e1lido del sistema de archivos. Esto se debe a que lib9p no verifica adecuadamente que el nombre proporcionado en los mensajes Tauth y Tattach 9p coincida con el UID del cliente devuelto por el protocolo de enlace de autenticaci\u00f3n de fact\u00f3tum. El \u00fanico sistema de archivos que utiliza estas funciones dentro de los sistemas base 9front es el sistema de archivos de disco experimental hjfs; otros sistemas de archivos de disco (cwfs y gefs) no se ven afectados por este error. Este error se hered\u00f3 del Plan 9 y est\u00e1 presente en todas las versiones de 9front y se soluciona por completo en el commit 9645ae07eb66a59015e3e118d0024790c37400da."
    }
  ],
  "id": "CVE-2024-8158",
  "lastModified": "2024-09-12T21:00:00.573",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 6.5,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "NONE",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
          "version": "3.1"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 3.6,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ],
    "cvssMetricV40": [
      {
        "cvssData": {
          "Automatable": "NO",
          "Recovery": "NOT_DEFINED",
          "Safety": "NOT_DEFINED",
          "attackComplexity": "LOW",
          "attackRequirements": "PRESENT",
          "attackVector": "NETWORK",
          "availabilityRequirement": "NOT_DEFINED",
          "baseScore": 8.8,
          "baseSeverity": "HIGH",
          "confidentialityRequirement": "NOT_DEFINED",
          "exploitMaturity": "NOT_DEFINED",
          "integrityRequirement": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "modifiedAttackRequirements": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "modifiedPrivilegesRequired": "NOT_DEFINED",
          "modifiedSubAvailabilityImpact": "NOT_DEFINED",
          "modifiedSubConfidentialityImpact": "NOT_DEFINED",
          "modifiedSubIntegrityImpact": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
          "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
          "modifiedVulnIntegrityImpact": "NOT_DEFINED",
          "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:N/R:X/V:C/RE:L/U:Red",
          "version": "4.0",
          "vulnAvailabilityImpact": "NONE",
          "vulnConfidentialityImpact": "HIGH",
          "vulnIntegrityImpact": "HIGH",
          "vulnerabilityResponseEffort": "LOW"
        },
        "source": "1d66c9f9-fff2-411a-aa19-ca6312fa25e9",
        "type": "Secondary"
      }
    ]
  },
  "published": "2024-08-25T22:15:05.903",
  "references": [
    {
      "source": "1d66c9f9-fff2-411a-aa19-ca6312fa25e9",
      "tags": [
        "Patch"
      ],
      "url": "https://git.9front.org/plan9front/plan9front/07aa9bfeef55ca987d411115adcfbbd4390ecf34/commit.html"
    }
  ],
  "sourceIdentifier": "1d66c9f9-fff2-411a-aa19-ca6312fa25e9",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-639"
        }
      ],
      "source": "1d66c9f9-fff2-411a-aa19-ca6312fa25e9",
      "type": "Secondary"
    },
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-639"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}

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

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

Vulnerability from nvd – 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"
}