(Pwn2Own) LM Studio Weak Credentials Authentication Bypass Vulnerability
The authentication mechanism for the CLI identity in LM Studio relied on weak credentials, allowing a remote attacker to bypass authentication without needing to authenticate. An attacker could combine this flaw with other vulnerabilities to bypass authentication on the system.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass authentication on affected installations of LM Studio. Authentication is not required to exploit this vulnerability.
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 CLI identity authentication used predictable or hard-coded credentials rather than a strong secret.
Impact
A remote attacker could bypass authentication on affected installations, and could chain this with other vulnerabilities to bypass authentication.
What the attacker needed
Network access to the LM Studio service
The fix
It was fixed in LM Studio version 0.4.16.
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.
LM Studio has a way for command-line tools to prove who they are, but that proof used weak credentials. Because of this, someone on the network could bypass authentication without a real 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.