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.
References
Configurations
History
No history.
Information
Published : 2024-08-25 22:15
Updated : 2024-09-12 21:00
NVD link : CVE-2024-8158
Mitre link : CVE-2024-8158
CVE.ORG link : CVE-2024-8158
JSON object : View
Products Affected
9front
- lib9p
CWE
CWE-639
Authorization Bypass Through User-Controlled Key