User impersonation for lib9p based 9p fileservers
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-639.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| 9front | 9front | before 9645ae07eb66a59015e3e118d0024790c37400da | 9645ae07eb66a59015e3e118d0024790c37400da | Patch available | CNA |
- 9front Vendor9front Affected before 9645ae07eb66a59015e3e118d0024790c37400da Fixed in 9645ae07eb66a59015e3e118d0024790c37400da Patch available CNA
Remediation
- Fix · CNA 9front (9front) Fixed in 9645ae07eb66a59015e3e118d0024790c37400da
Timeline
- 2026-10-02 Threatist record created from CVE-2024-8158
- 2026-10-03 Alias added: GHSA-pm23-3px3-qrh7
References
Sources
- CVE-2024-8158 · CVE Program
- CVE-2024-8158 · NVD
- FIRST EPSS
- GHSA-pm23-3px3-qrh7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences