Skip to content
RCE Write-up Intermediate

**SOC175 — PowerShell Found in Requested URL — Possible CVE-2022–41082 Exploitation**

An attacker sent a crafted request to an Exchange server's Autodiscover endpoint containing a PowerShell string, attempting to exploit CVE-2022-41082 for remote code execution. The request was blocked by security devices, so the attack did not succeed.

Elnur Badalov Follow

Published on systemweakness.com

Based on the information provided in this alert, the host Exchange Server 2 with IP 172[.]16[.]20[.]8 experienced a request containing the word "PowerShell" within the URL: /autodiscover/[email protected]/owa/&Email=autodiscover/autodiscover.json%[email protected]&Protocol=XYZ&FooProtocol=Powershell. The EDR…

Elnur Badalov, on systemweakness.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a vulnerability in how Exchange processes the Autodiscover endpoint allows bypassing checks and potentially achieving remote code execution.

Impact

The attack was not successful because all devices blocked the traffic, so no unauthorised access or code execution occurred.

What the attacker needed

Target runs vulnerable Exchange Server; attacker can send HTTP requests

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 write-up has not been written yet. The Original tab links to the source.

This is a report about an attempted attack on a Microsoft Exchange email server. The attacker tried to use a known flaw (CVE-2022-41082) to run their own commands on the server, but the security tools blocked the request, so nothing bad happened.

What is RCE?

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

More by Elnur Badalov

View all

3 more disclosed reports, best first.

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.