Skip to content
Misconfiguration Advisory Intermediate CVE-2018-8415

Microsoft PowerShell Tampering Vulnerability (CVE-2018-8415)

A tampering flaw in PowerShell let an attacker who could already log on to a system run specially crafted code that was not recorded in the logs. The update fixes how special characters are handled in log management.

Amirreza Niakanlahiji Follow

Originally disclosed on Microsoft

High 3.3 View original

Description

A tampering vulnerability exists in PowerShell that could allow an attacker to execute unlogged code. To exploit this vulnerability, an attacker would need to log on to the affected system and run a specially crafted application. The security update addresses the vulnerability by correcting log management of special characters.

Microsoft PowerShell

Microsoft PowerShell

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Amirreza Niakanlahiji (@DissectMalware) of University of North Carolina at Charlotte. 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 logging code mishandled special characters, so some executed commands were not written to the log.

Impact

An attacker with logon access could execute code that was not logged, reducing the evidence available for detection and investigation.

What the attacker needed

Logon access to the affected system

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.

PowerShell is a scripting tool built into Windows. Logs are records of what commands were run, used later to spot or investigate attacks. Here, certain special characters could make some activity go unrecorded, so someone with a login could act without leaving a trace in those logs.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.