Linux Kernel ksmbd Multichannel Improper Authentication Session Hijack Vulnerability
The ksmbd component of the Linux kernel did not properly isolate sessions when looking up a session ID during Multichannel handling. A remote attacker without authentication could use this to hijack an arbitrary live session on a system where ksmbd is enabled.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to hijack a session on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability, but only systems with ksmbd enabled are vulnerable.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the session lookup in Multichannel handling did not check that a session ID belonged to the requesting connection, so a session could be matched across different channels.
Impact
An unauthenticated remote attacker could hijack any live session, but only on systems with ksmbd enabled.
What the attacker needed
Ksmbd enabled on the target; network access to the service; no authentication needed
The fix
Linux issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
ksmbd is a file-sharing server built into the Linux kernel. A session is the server's record that a particular client has logged in. Because the server mixed up which session belonged to which connection, someone could take over another user's active session without knowing any password.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.