Skip to content
RCE Advisory Advanced CVE-2024-43615

Microsoft OpenSSH for Windows Remote Code Execution Vulnerability (CVE-2024-43615)

A remote code execution flaw exists in Microsoft OpenSSH for Windows, where an attacker who can plant a specific file in the location the target file will be run from could trigger code execution. Exploitation requires the victim to perform a particular file management operation.

wangzhibei Follow

Originally disclosed on Microsoft

High 7.1 View original

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to gather information specific to the environment of the targeted component.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to have access to the location where the target file will be run. They would then need to plant a specific file that would be used as part of the exploitation.

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Successful exploitation of this vulnerability requires the victim to perform a specific file management operation to trigger the vulnerability.

OpenSSH for Windows

OpenSSH for Windows

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by wangzhibei. 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 the component does not properly validate or restrict files it loads and runs from a location an attacker can write to.

Impact

An attacker with low privileges and access to the target file location could achieve remote code execution, but only if the victim performs a specific file management operation, and the high attack complexity means environment-specific information must first be gathered.

What the attacker needed

Low privileges on the target; write access to the target file location; victim performs a file operation

The fix

Microsoft marked customer action as required, so affected users should apply the vendor's update.

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.

OpenSSH is the software that lets you connect securely to another computer over a network. This bug means that if an attacker can put a specially crafted file where the program will run it, and the victim then does a certain file operation, the attacker's code could run on the machine. It is not something an outsider can do from the internet alone; they need a foothold on the system first.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.