CVE-2024-8158

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:9front:lib9p:*:*:*:*:*:*:*:*

History

12 Sep 2024, 21:00

Type Values Removed Values Added
First Time 9front
9front lib9p
References () https://git.9front.org/plan9front/plan9front/07aa9bfeef55ca987d411115adcfbbd4390ecf34/commit.html - () https://git.9front.org/plan9front/plan9front/07aa9bfeef55ca987d411115adcfbbd4390ecf34/commit.html - Patch
CPE cpe:2.3:a:9front:lib9p:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5

26 Aug 2024, 12:47

Type Values Removed Values Added
Summary
  • (es) Un error en la implementación de la autenticación 9p dentro de lib9p permite a un atacante con un usuario válido existente dentro del servidor de autenticación configurado hacerse pasar por cualquier otro usuario válido 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ón de factótum. El único 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ó del Plan 9 y está presente en todas las versiones de 9front y se soluciona por completo en el commit 9645ae07eb66a59015e3e118d0024790c37400da.

25 Aug 2024, 22:15

Type Values Removed Values Added
New CVE

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