Skip to content
Access control Advisory Intermediate CVE-2020-1292

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.

William Knowles Follow

Originally disclosed on Microsoft

High 8.8 View original

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

The original report as published on the Microsoft Security Response Center, by William Knowles ( @william_knows ). Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.