OpenSSH for Windows Elevation of Privilege Vulnerability (CVE-2020-1292)
OpenSSH for Windows did not properly restrict access to its configuration settings, allowing an authenticated attacker to replace the shell with a malicious binary. The attacker could then convince a user to connect to the vulnerable server, potentially leading to privilege elevation.
Originally disclosed on Microsoft
Description
An elevation of privilege vulnerability exists in OpenSSH for Windows when it does not properly restrict access to configuration settings. An attacker who successfully exploited this vulnerability could replace the shell with a malicious binary. To exploit this vulnerability, an authenticated attacker would need to modify the OpenSSH for Windows configuration on a vulnerable system. The attacker would then need to convince a user to connect to the vulnerable OpenSSH for Windows server. The update addresses the vulnerability by restricting access to OpenSSH for Windows configuration settings.
Microsoft Windows
Microsoft Windows
Microsoft
Microsoft
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 insufficient access controls on OpenSSH for Windows configuration settings, allowing an authenticated user to modify them.
Impact
An authenticated attacker could replace the shell with a malicious binary, potentially leading to elevation of privilege, though the attacker must convince a user to connect to the vulnerable server.
What the attacker needed
Authenticated attacker; modify OpenSSH configuration; victim connects to server
The fix
The vulnerability was fixed by restricting access to OpenSSH for Windows configuration settings.
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.
This is a security flaw in OpenSSH for Windows, a tool that lets people log into a computer remotely. The problem was that the program did not properly protect its settings, so someone who already had an account could change which program runs when another person connects. That could let the attacker run their own harmful code on the victim's session.
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.