CVE-2024-8158

published 25 Aug 2024 · updated 26 Aug 2024

User impersonation for lib9p based 9p fileservers

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 9645ae07eb66a59015e3e118d0024790c37400da.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
9front<9645ae07eb66a59015e3e118d0024790c37400da9645ae07eb66a59015e3e118d0024790c37400da

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-8158 severity on Zeptric[![CVE-2024-8158](https://zeptric.io/badge/cve/CVE-2024-8158.svg)](https://zeptric.io/cve/CVE-2024-8158)